GetTodoItemsAsync() public méthode

Gets all todo items async.
public GetTodoItemsAsync ( ) : Task>
Résultat Task>
Exemple #1
0
        /// <summary>
        /// Reloads all of the records from Azure and displays them in the table.
        /// </summary>
        public async Task Reload()
        {
            var items = await manager.GetTodoItemsAsync();

            Console.WriteLine("items retrieved: " + items.Count);
            todoTable.DataSource = new TableDataSource(items);
            todoTable.Delegate   = new TableDelegate(this);
        }
        protected override async void OnAppearing()
        {
            base.OnAppearing();

            todoList.ItemsSource = await manager.GetTodoItemsAsync();
        }