protected override void OnAppearing() { base.OnAppearing(); FoodViewModel FVM = (FoodViewModel)foodtable.BindingContext; FVM.loadFood(App.Instance.date); }
public FoodView() { InitializeComponent(); Title = "Food"; FoodViewModel FVM = (FoodViewModel)foodtable.BindingContext; FVM.loadFood(); }