예제 #1
0
        Task QueryTodoList(QueryTodoListEvent arg)
        {
            if (arg.Result == QueryTodoResult.StoredData || arg.Result == QueryTodoResult.LiveData)
            {
                SetupTodoSection();
                SetupTodoList(MenuPage, ViewTodoList);
            }

            return(Task.CompletedTask);
        }
예제 #2
0
        Task QueryTodoList(QueryTodoListEvent arg)
        {
            if (arg.TodoList == TodoList && (arg.Result == QueryTodoResult.StoredData || arg.Result == QueryTodoResult.LiveData))
            {
                UpdateList();
            }
            else
            {
                UpdateButtons();
            }

            return(Task.CompletedTask);
        }