fix [修复-个人主页-标签颜色问题,视频点赞数量+1问题]
This commit is contained in:
parent
4f590a78a8
commit
1d9930ed26
@ -15,7 +15,7 @@
|
||||
android:paddingEnd="15dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:text="标签"
|
||||
android:textColor="@color/black2"
|
||||
android:textColor="#C38764"
|
||||
android:textSize="11dp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user