private async Task Refresh() { RefreshControl.BeginRefreshing(); await Task.Delay(200); RefreshControl.EndRefreshing(); DataSource = new ToDoDataSource(this); TableView.Source = DataSource; TableView.ReloadData(); }
public ToDoActiveViewController(ToDoRepository repository) : base(repository) { Repository = repository; DataSource = new ToDoDataSource(this); }