private void SearchSale_OnTextChanged(object sender, TextChangedEventArgs e) { if (string.IsNullOrEmpty(SearchSale.Text)) { vm.Load(); } }
private void SalesView_OnAppearing(object sender, EventArgs e) { vm = new SalesViewModel(); BindingContext = vm; vm.Load(); Pager.CurrentPage = 1; }
private void SalesView_OnAppearing(object sender, EventArgs e) { vm.Load(); }
protected override void OnAppearing() { base.OnAppearing(); _salesViewModel.Load(); _customersViewModel.Load(); }