public override void ViewDidLoad() { base.ViewDidLoad(); drinkList = dBHelper.getAllDrinks(); HistoryTableView.Source = new TableSource(drinkList, this); HistoryTableView.ReloadData(); }
public override void ViewWillAppear(bool animated) { base.ViewWillAppear(animated); drinkList = dBHelper.getAllDrinks(); HistoryTableView.Source = new TableSource(drinkList, this); HistoryTableView.ReloadData(); }
void ReleaseDesignerOutlets() { if (HistoryLabel != null) { HistoryLabel.Dispose(); HistoryLabel = null; } if (HistoryTableView != null) { HistoryTableView.Dispose(); HistoryTableView = null; } if (NoHistoryLabel != null) { NoHistoryLabel.Dispose(); NoHistoryLabel = null; } }