public override void ViewDidLoad() { base.ViewDidLoad(); // Get the data GithubDataProvider.Instance.RepoList(_owner, data => { _tableViewDataSource = new RepoSelectorViewControllerSource(data, _repoSelectionHandler); InvokeOnMainThread(() => { TableView.Source = _tableViewDataSource; TableView.ReloadData(); _actIndicator.RemoveFromSuperview(); _actIndicator.StopAnimating(); }); }); }
public override void ViewDidLoad() { base.ViewDidLoad (); // Get the data GithubDataProvider.Instance.RepoList (_owner, data => { _tableViewDataSource = new RepoSelectorViewControllerSource (data, _repoSelectionHandler); InvokeOnMainThread (() => { TableView.Source = _tableViewDataSource; TableView.ReloadData (); _actIndicator.RemoveFromSuperview (); _actIndicator.StopAnimating (); }); }); }