光环助手V3.7.0 DEV(20191021-0955)前端测试汇总(5,10)https://gitlab.ghzs.com/pm/halo-app-issues/issues/673

This commit is contained in:
张玉久
2019-10-21 21:20:09 +08:00
parent ab3d29d449
commit 821434bd7c
3 changed files with 42 additions and 30 deletions

View File

@ -357,7 +357,7 @@ public class MessageDetailAdapter extends BaseRecyclerAdapter<ViewHolder> {
if (commentEntity == null) {
return;
}
TextHelper.highlightTextThatIsWrappedInsideWrapperByDefault(holder.commentContentTv, commentEntity.getContent());
ArticleCommentParent parent = commentEntity.getParent();
if (parent != null && !TextUtils.isEmpty(parent.getUser().getName())) {
@ -407,6 +407,10 @@ public class MessageDetailAdapter extends BaseRecyclerAdapter<ViewHolder> {
CommentUtils.showReportDialog(finalCommentEntity,
mContext, true,
mOnCommentCallBackListener, null, "资讯文章详情-评论详情"));
holder.commentContentTv.setOnClickListener(v ->
CommentUtils.showReportDialog(finalCommentEntity,
mContext, true,
mOnCommentCallBackListener, null, "资讯文章详情-评论详情"));
holder.commentUserNameTv.setOnClickListener(v -> DirectUtils.directToHomeActivity(mContext, finalCommentEntity.getUser().getId(), mEntrance, "文章-评论详情"));
holder.commentUserIconDv.setOnClickListener(v -> DirectUtils.directToHomeActivity(mContext, finalCommentEntity.getUser().getId(), mEntrance, "文章-评论详情"));