public async void OnOperationCompletion(List <ZTask> ZtaskList) { await CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => { Ztasks.Clear(); foreach (ZTask task in ZtaskList) { Ztasks.Add(task); } }); }
public async void OnTasksFetchedSuccessfully(List <ZTask> ZtaskList) { await CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => { Ztasks.Clear(); Display(ZtaskList); //Today.Clear(); //Upcoming.Clear(); //Delayed.Clear(); //AssignedToOthers.Clear(); //Home.Clear(); //AddElementsToCollection(ZtaskList); }); }
public void DisplayDelayedTasks() { Ztasks.Clear(); ConvertListData(Delayed); }
public void DisplayUpcomingTasks() { Ztasks.Clear(); ConvertListData(Upcoming); }
public void DisplayTasksAssignedToOthers() { Ztasks.Clear(); ConvertListData(AssignedToOthers); }
public void DisplayTasksForToday() { Ztasks.Clear(); ConvertListData(Today); }
public void DisplayMyTasks() { Ztasks.Clear(); ConvertListData(Home); }