protected async override void OnNavigatedTo(NavigationEventArgs e) { _navigationHelper.OnNavigatedTo(e); await DRUMSModel.LoadItemsAsync(); DataContext = this; }
protected override async void OnNavigatedTo(NavigationEventArgs e) { _dataTransferManager = DataTransferManager.GetForCurrentView(); _dataTransferManager.DataRequested += OnDataRequested; _navigationHelper.OnNavigatedTo(e); await DRUMSModel.LoadItemsAsync(); }
protected async override void OnNavigatedTo(NavigationEventArgs e) { _dataTransferManager = DataTransferManager.GetForCurrentView(); _dataTransferManager.DataRequested += OnDataRequested; _navigationHelper.OnNavigatedTo(e); await DRUMSModel.LoadItemsAsync(); DRUMSModel.SelectItem(e.Parameter); if (DRUMSModel != null) { DRUMSModel.ViewType = ViewTypes.Detail; } DataContext = this; }
protected override async void OnNavigatedTo(NavigationEventArgs e) { _navigationHelper.OnNavigatedTo(e); await DRUMSModel.LoadItemsAsync(); }