From 1d9930ed26b0dfefa712bdc17a1f441850283b6d Mon Sep 17 00:00:00 2001 From: hch <16607480311@163.com> Date: Thu, 28 Mar 2024 15:23:43 +0800 Subject: [PATCH] =?UTF-8?q?fix=20[=E4=BF=AE=E5=A4=8D-=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=B8=BB=E9=A1=B5-=E6=A0=87=E7=AD=BE=E9=A2=9C=E8=89=B2?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E8=A7=86=E9=A2=91=E7=82=B9=E8=B5=9E?= =?UTF-8?q?=E6=95=B0=E9=87=8F+1=E9=97=AE=E9=A2=98]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/src/main/res/layout/adapter_item_tag.xml | 2 +- .../java/com/yunbao/video/views/VideoPlayWrapViewHolder.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/main/res/layout/adapter_item_tag.xml b/common/src/main/res/layout/adapter_item_tag.xml index 716856e..a276246 100644 --- a/common/src/main/res/layout/adapter_item_tag.xml +++ b/common/src/main/res/layout/adapter_item_tag.xml @@ -15,7 +15,7 @@ android:paddingEnd="15dp" android:paddingBottom="5dp" android:text="标签" - android:textColor="@color/black2" + android:textColor="#C38764" android:textSize="11dp" /> diff --git a/video/src/main/java/com/yunbao/video/views/VideoPlayWrapViewHolder.java b/video/src/main/java/com/yunbao/video/views/VideoPlayWrapViewHolder.java index 7a44eae..11bd08b 100644 --- a/video/src/main/java/com/yunbao/video/views/VideoPlayWrapViewHolder.java +++ b/video/src/main/java/com/yunbao/video/views/VideoPlayWrapViewHolder.java @@ -441,6 +441,7 @@ public class VideoPlayWrapViewHolder extends AbsViewHolder implements View.OnCli } String isLike = mVideoBean.getIs_love().equals("1") ? "0" : "1"; mVideoBean.setIs_love(isLike); + mLikeNum.setText(String.valueOf(mVideoBean.getLove_num())); EventBus.getDefault().post(new VideoLikeEvent(mVideoBean.getId(), Integer.parseInt(mVideoBean.getIs_love()), mVideoBean.getLove_num())); if (mVideoBean.getIs_love().equals("1")) { mBtnLike.setImageResource(R.mipmap.icon_video_zan_new02);