public override void FetchTableDataFromDatabase() { base.FetchTableDataFromDatabase(); TableSource.SetItems(TableView, Shared.GetTableItems()); IfEmpty(true); }
public override void FetchTableDataFromDatabase() { base.FetchTableDataFromDatabase(); TableSource.SetItems(TableView, RealmServices.GetMyOutlets()); IfEmpty(true); }
public override void ViewDidAppear(bool animated) { base.ViewDidAppear(animated); TableViewCardEditingChangedNotification = NSNotificationCenter.DefaultCenter.AddObserver(new NSString(Strings.InternalNotifications.notification_card_editing_changed), (obj) => { InvokeOnMainThread(() => { TableSource.SetItems(TableView, Shared.GetTableItems()); }); }); NoOutletsTappedNotification = NSNotificationCenter.DefaultCenter.AddObserver(new NSString(Strings.InternalNotifications.notification_no_outlets_tapped), (obj) => { InvokeOnMainThread(() => { //scroll to footer TableView.ScrollRectToVisible(TableView.TableFooterView.Frame, true); }); }); }