public override void ViewDidLoad() { base.ViewDidLoad(); var tableSource = new TopCommitersTableSource(); TableView.Source = tableSource; topCommitters = service.GetSingle(new Dictionary<string, string>()); InvokeOnMainThread(() => { tableSource.Committers = topCommitters.Committers; TableView.ReloadData(); }); }
public override void ViewDidLoad() { base.ViewDidLoad(); var tableSource = new TopCommitersTableSource(); TableView.Source = tableSource; topCommiters.Load(() => { InvokeOnMainThread(() => { tableSource.Commiters = topCommiters.Commiters; TableView.ReloadData(); }); }); }
public override void ViewDidLoad() { base.ViewDidLoad(); var tableSource = new TopCommitersTableSource(); TableView.Source = tableSource; topCommitters = service.GetSingle(new Dictionary <string, string>()); InvokeOnMainThread(() => { tableSource.Committers = topCommitters.Committers; TableView.ReloadData(); }); }