From 28f00f1c8ae720018c8e8093095d8ab046455324 Mon Sep 17 00:00:00 2001
From: hch <16607480311@163.com>
Date: Mon, 25 Mar 2024 13:07:15 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../yunbao/common/adapter/CommentAdapter.java | 2 +-
.../res/layout/activity_community_details.xml | 27 +++++++++++++++----
.../res/layout/item_comment_video_view.xml | 1 +
.../activity/CommunityDetailsActivity.java | 26 +++++++-----------
.../main/activity/UserHomeActivity.java | 13 ++++++++-
5 files changed, 46 insertions(+), 23 deletions(-)
diff --git a/common/src/main/java/com/yunbao/common/adapter/CommentAdapter.java b/common/src/main/java/com/yunbao/common/adapter/CommentAdapter.java
index 853378b73..feddc6805 100644
--- a/common/src/main/java/com/yunbao/common/adapter/CommentAdapter.java
+++ b/common/src/main/java/com/yunbao/common/adapter/CommentAdapter.java
@@ -147,7 +147,6 @@ public class CommentAdapter extends RecyclerView.Adapter {
del1.setTag(bean);
report.setTag(bean);
replyTextView.setTag(bean);
- report1.setTag(bean);
ImgLoader.display(itemView.getContext(), bean.getUser_avatar(), mAvatar);
name.setText(bean.getUser_name());
content.setText(bean.getContent());
@@ -164,6 +163,7 @@ public class CommentAdapter extends RecyclerView.Adapter {
if (bean.getReplyCommentList() != null) {
replyCount.setText("共" + bean.getReplyCommentList().size() + "条回复>");
if (bean.getReplyCommentList().size() > 0) {
+ report1.setTag(bean.getReplyCommentList().get(0));
del1.setTag(bean.getReplyCommentList().get(0));
replyContent.setText(bean.getReplyCommentList().get(0).getContent());
ImgLoader.display(itemView.getContext(), bean.getReplyCommentList().get(0).getUser_avatar(), mAvatar01);
diff --git a/common/src/main/res/layout/activity_community_details.xml b/common/src/main/res/layout/activity_community_details.xml
index 9a0531d4c..f55bb38fa 100644
--- a/common/src/main/res/layout/activity_community_details.xml
+++ b/common/src/main/res/layout/activity_community_details.xml
@@ -28,12 +28,29 @@
android:gravity="center_vertical"
android:orientation="horizontal">
-
+ android:layout_height="80dp">
+
+
+
+
+
+