//Event Menu >> Reply public void CommentReplyClick(CommentsArticlesObject item) { try { // show dialog : ReplyFragment = new ReplyCommentBottomSheet(); Bundle bundle = new Bundle(); bundle.PutString("Type", "Article"); bundle.PutString("Id", ArticlesId); bundle.PutString("Object", JsonConvert.SerializeObject(item)); ReplyFragment.Arguments = bundle; ReplyFragment.Show(SupportFragmentManager, ReplyFragment.Tag); } catch (Exception e) { Console.WriteLine(e); } }
//Event Menu >> Reply public void CommentReplyClick(CommentsMoviesObject item) { try { // show dialog : ReplyFragment = new ReplyCommentBottomSheet(); Bundle bundle = new Bundle(); bundle.PutString("Type", "Movies"); bundle.PutString("Id", MoviesId); bundle.PutString("Object", JsonConvert.SerializeObject(item)); ReplyFragment.Arguments = bundle; ReplyFragment.Show(SupportFragmentManager, ReplyFragment.Tag); } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
private void CommentsAdapterOnReplyClick(object sender, CommentAdapterClickEventArgs e) { try { var item = e.Class; if (item != null) { // show dialog : ReplyCommentBottomSheet replyFragment = new ReplyCommentBottomSheet(); Bundle bundle = new Bundle(); bundle.PutString("Type", "Article"); bundle.PutString("Object", JsonConvert.SerializeObject(item)); replyFragment.Arguments = bundle; replyFragment.Show(SupportFragmentManager, replyFragment.Tag); } } catch (Exception exception) { Console.WriteLine(exception); } }