举报修改完成

This commit is contained in:
ningwenqiang 2024-11-05 13:29:04 +08:00
parent 1b2ffd37e3
commit 0fe09123fd
2 changed files with 5 additions and 3 deletions

View File

@ -217,7 +217,7 @@ public class CommunityDetailsActivity extends AbsActivity {
ToastUtil.show(getResources().getString(com.yunbao.main.R.string.not_blackmail)); ToastUtil.show(getResources().getString(com.yunbao.main.R.string.not_blackmail));
} else { } else {
if (tag == 0) { if (tag == 0) {
RouteUtil.forwardCommentReportActivity(activeBean.getId(), "0"); RouteUtil.forwardLiveReportActivity(activeBean.getId(),1,"1", "");
} else { } else {
CommonHttpUtil.noInterest(activeBean.getUser_id(), new HttpCallback() { CommonHttpUtil.noInterest(activeBean.getUser_id(), new HttpCallback() {
@Override @Override
@ -335,7 +335,7 @@ public class CommunityDetailsActivity extends AbsActivity {
@Override @Override
public void onReport(CommentBean commentBean) { public void onReport(CommentBean commentBean) {
//一级回复 举报 //一级回复 举报
RouteUtil.forwardCommentReportActivity(activeBean.getId(), commentBean.getId()); RouteUtil.forwardLiveReportActivity(activeBean.getId(), 1,"2",commentBean.getId());
} }
@Override @Override
@ -355,7 +355,7 @@ public class CommunityDetailsActivity extends AbsActivity {
@Override @Override
public void onReport(CommentBean.ReplyComment commentBean) { public void onReport(CommentBean.ReplyComment commentBean) {
//二级回复 举报 //二级回复 举报
RouteUtil.forwardCommentReportActivity(activeBean.getId(), commentBean.getId()); RouteUtil.forwardLiveReportActivity(activeBean.getId(), 1,"2",commentBean.getId());
} }
@Override @Override

View File

@ -159,6 +159,7 @@
<ImageView <ImageView
android:visibility="invisible"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
@ -539,6 +540,7 @@
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:visibility="gone" android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_goneMarginTop="10dp"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/otherFunctionsView" app:layout_constraintTop_toBottomOf="@+id/otherFunctionsView"