private void OnItemClick(SampleOrder clickedItem) { if (clickedItem != null) { _connectedAnimationService.SetListDataItemForNextConnectedAnimation(clickedItem); _navigationService.Navigate(PageTokens.ContentGridDetailPage, clickedItem.OrderID); } }
public override void OnNavigatingFrom(NavigatingFromEventArgs e, Dictionary <string, object> viewModelState, bool suspending) { base.OnNavigatingFrom(e, viewModelState, suspending); if (e.NavigationMode == NavigationMode.Back) { _connectedAnimationService.SetListDataItemForNextConnectedAnimation(Item); } }
private void OnsItemSelected(ItemClickEventArgs args) { var selected = args.ClickedItem as SampleImage; ImagesNavigationHelper.AddImageId(ImageGalleryViewSelectedIdKey, selected.ID); _connectedAnimationService.SetListDataItemForNextConnectedAnimation(selected); _navigationService.Navigate(PageTokens.ImageGalleryViewDetailPage, selected.ID); }
public void OnItemSelected(SampleOrder clickedItem) { if (clickedItem != null) { _connectedAnimationService.SetListDataItemForNextConnectedAnimation(clickedItem); _navigationService.Navigate(typeof(ContentGridDetailPage), clickedItem.OrderID); } }
public void OnImageSelected(SampleImage image) { ImagesNavigationHelper.AddImageId(ImageGallerySelectedIdKey, image.ID); _connectedAnimationService.SetListDataItemForNextConnectedAnimation(image); _navigationService.For <ImageGalleryDetailViewModel>() .WithParam(v => v.ID, image.ID) .Navigate(); }
public void SetListDataItemForNextConnectedAnimation() { _connectedAnimationService.SetListDataItemForNextConnectedAnimation(Item); }