コード例 #1
0
        private async Task Refresh()
        {
            RefreshControl.BeginRefreshing();
            await Task.Delay(200);

            RefreshControl.EndRefreshing();
            DataSource       = new ToDoDataSource(this);
            TableView.Source = DataSource;
            TableView.ReloadData();
        }
コード例 #2
0
 public ToDoActiveViewController(ToDoRepository repository) : base(repository)
 {
     Repository = repository;
     DataSource = new ToDoDataSource(this);
 }