public override void ViewDidLoad() { base.ViewDidLoad(); _parentMenu = this.LoadMenu(); _list = this.LoadList<GeneralListLayout>(); var source = _list.InitialiseSource(TableView); TableView.Source = source; TableView.ReloadData(); if (_parentMenu != null) { NavigationItem.SetRightBarButtonItem( new UIBarButtonItem(UIBarButtonSystemItem.Action, (sender, e) => { ShowActionMenu(); }), false); } }
public override void ViewDidLoad() { base.ViewDidLoad(); _parentMenu = this.LoadMenu(); _list = this.LoadList <GeneralListLayout>(); var source = _list.InitialiseSource(TableView); TableView.Source = source; TableView.ReloadData(); if (_parentMenu != null) { NavigationItem.SetRightBarButtonItem( new UIBarButtonItem(UIBarButtonSystemItem.Action, (sender, e) => { ShowActionMenu(); }), false); } }