private async void UIElement_OnDoubleTapped(object sender, DoubleTappedRoutedEventArgs e) { var ps = new ParsePostsService(); // var res = await ps.DeleteImageByPostAndInageId(null, "8FOqVSNnat"); (Window.Current.Content as AppShell) .AppFrame .Navigate( typeof(ImageFullScreenView), this.DataContext, new Windows.UI.Xaml.Media.Animation.DrillInNavigationTransitionInfo()); }
private async void HandleGetDataCommand() { this.IsWaitunForData = true; try { var postServiceParse = new ParsePostsService(); var parsePosts = (await postServiceParse.GetCurrentUserAllPostsAsync()); if (parsePosts != null) { this.Posts = parsePosts.AsQueryable().Select(PostViewModel.FromParseObjectExpr).ToList(); } } catch (Exception ex) { var msg = ex.Message; } this.IsWaitunForData = false; }