samples/TodoApp/TodoApp.iOS/ViewControllers/HomeViewController.cs
/// <summary>
/// Refreshes the content of the list.
/// </summary>
Refreshes the content of the list.
Refreshes the content of the list .
public async Task RefreshListAsync()
        {
            tableView.RefreshControl?.BeginRefreshing();
            await TodoService.RefreshItemsAsync();
            tableSource.ReplaceAllItems(await TodoService.GetItemsAsync());
            tableView.RefreshControl?.EndRefreshing();
            tableView.ReloadData();
        }
public async Task RefreshListAsync ( ) { tableView . RefreshControl ? . BeginRefreshing ( ) ; await TodoService . RefreshItemsAsync ( ) ; tableSource . ReplaceAllItems ( await TodoService . GetItemsAsync ( ) ) ; tableView . RefreshControl ? . EndRefreshing ( ) ; tableView . ReloadData ( ) ; }
Refreshes the content of the list.
Refreshes the content of the list .