public override void ViewDidLoad() { base.ViewDidLoad(); NavigationItem.SetLeftBarButtonItem( new UIBarButtonItem(UIImage.FromBundle("menu.png"), UIBarButtonItemStyle.Plain, (s, e) => NavigationController.PopViewController(true)), true); this.Title = "Saved Postings"; savedPostings = AppDelegate.databaseConnection.GetAllPostingsAsync().Result; tableSource = new SavedPostingsTableViewSource(this, savedPostings); TableView.Source = tableSource; TableView.SeparatorStyle = UITableViewCellSeparatorStyle.None; }
public override void ViewDidLoad() { base.ViewDidLoad(); NavigationItem.SetLeftBarButtonItem( new UIBarButtonItem(UIImage.FromBundle("menu.png"), UIBarButtonItemStyle.Plain, (s, e) => NavigationController.PopViewController(true)), true); this.Title = "Saved Postings"; savedPostings = AppDelegate.databaseConnection.GetAllPostingsAsync().Result; tableSource = new SavedPostingsTableViewSource(this, savedPostings); TableView.Source = tableSource; TableView.SeparatorStyle = UITableViewCellSeparatorStyle.None; }