protected async override void OnNavigatedTo(NavigationEventArgs e) { _navigationHelper.OnNavigatedTo(e); await BeveragesModel.LoadItemsAsync(); DataContext = this; }
protected override async void OnNavigatedTo(NavigationEventArgs e) { _navigationHelper.OnNavigatedTo(e); await BeveragesModel.LoadItemsAsync(); BottomAppBar.IsOpen = true; BottomAppBar.IsSticky = true; }
protected override async void OnNavigatedTo(NavigationEventArgs e) { _dataTransferManager = DataTransferManager.GetForCurrentView(); _dataTransferManager.DataRequested += OnDataRequested; _navigationHelper.OnNavigatedTo(e); await BeveragesModel.LoadItemsAsync(); }
protected async override void OnNavigatedTo(NavigationEventArgs e) { _dataTransferManager = DataTransferManager.GetForCurrentView(); _dataTransferManager.DataRequested += OnDataRequested; _navigationHelper.OnNavigatedTo(e); await BeveragesModel.LoadItemsAsync(); BeveragesModel.SelectItem(e.Parameter); if (BeveragesModel != null) { BeveragesModel.ViewType = ViewTypes.Detail; } DataContext = this; }
protected async override void OnNavigatedTo(NavigationEventArgs e) { _dataTransferManager = DataTransferManager.GetForCurrentView(); _dataTransferManager.DataRequested += OnDataRequested; _navigationHelper.OnNavigatedTo(e); await BeveragesModel.LoadItemsAsync(); if (e.Parameter is BeveragesSchema) { BeveragesModel.Items.Add(e.Parameter as BeveragesSchema); } BeveragesModel.SelectItem(e.Parameter); if (BeveragesModel != null) { BeveragesModel.ViewType = ViewTypes.Detail; } DataContext = this; BottomAppBar.IsOpen = true; BottomAppBar.IsSticky = true; }
protected override async void OnNavigatedTo(NavigationEventArgs e) { _navigationHelper.OnNavigatedTo(e); await BeveragesModel.LoadItemsAsync(); }