动态回复 不能举报自己修改途牛的上传地址
This commit is contained in:
parent
c294a1c073
commit
5bc2c375cb
@ -149,6 +149,7 @@ public class CommentAdapter extends RecyclerView.Adapter {
|
|||||||
replyTextView.setTag(bean);
|
replyTextView.setTag(bean);
|
||||||
ImgLoader.display(itemView.getContext(), bean.getUser_avatar(), mAvatar);
|
ImgLoader.display(itemView.getContext(), bean.getUser_avatar(), mAvatar);
|
||||||
name.setText(bean.getUser_name());
|
name.setText(bean.getUser_name());
|
||||||
|
report.setVisibility(bean.getUid().equals(myUid)?View.GONE: View.VISIBLE);
|
||||||
content.setText(bean.getContent());
|
content.setText(bean.getContent());
|
||||||
if (bean.getUser_id().equals(authorId)) {
|
if (bean.getUser_id().equals(authorId)) {
|
||||||
author.setVisibility(View.VISIBLE);
|
author.setVisibility(View.VISIBLE);
|
||||||
@ -164,6 +165,7 @@ public class CommentAdapter extends RecyclerView.Adapter {
|
|||||||
replyCount.setText(String.format(mContext.getResources().getString(R.string.active_count), String.valueOf(bean.getReplyCommentList().size())));
|
replyCount.setText(String.format(mContext.getResources().getString(R.string.active_count), String.valueOf(bean.getReplyCommentList().size())));
|
||||||
if (bean.getReplyCommentList().size() > 0) {
|
if (bean.getReplyCommentList().size() > 0) {
|
||||||
report1.setTag(bean.getReplyCommentList().get(0));
|
report1.setTag(bean.getReplyCommentList().get(0));
|
||||||
|
report1.setVisibility( bean.getReplyCommentList().get(0).getUid().equals(myUid)?View.GONE: View.VISIBLE);
|
||||||
del1.setTag(bean.getReplyCommentList().get(0));
|
del1.setTag(bean.getReplyCommentList().get(0));
|
||||||
replyContent.setText(bean.getReplyCommentList().get(0).getContent());
|
replyContent.setText(bean.getReplyCommentList().get(0).getContent());
|
||||||
ImgLoader.display(itemView.getContext(), bean.getReplyCommentList().get(0).getUser_avatar(), mAvatar01);
|
ImgLoader.display(itemView.getContext(), bean.getReplyCommentList().get(0).getUser_avatar(), mAvatar01);
|
||||||
|
@ -94,6 +94,7 @@ public class CommentReplyAdapter extends RecyclerView.Adapter {
|
|||||||
ImgLoader.display(itemView.getContext(), bean.getUser_avatar(), mAvatar01);
|
ImgLoader.display(itemView.getContext(), bean.getUser_avatar(), mAvatar01);
|
||||||
name.setText(bean.getUser_name());
|
name.setText(bean.getUser_name());
|
||||||
replyContent.setText(bean.getContent());
|
replyContent.setText(bean.getContent());
|
||||||
|
report.setVisibility(bean.getUid().equals(myUid)?View.GONE: View.VISIBLE);
|
||||||
if (bean.getUser_id().equals(authorId)) {
|
if (bean.getUser_id().equals(authorId)) {
|
||||||
author.setVisibility(View.VISIBLE);
|
author.setVisibility(View.VISIBLE);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user