fix [关注按钮修复,直播状态跳转直播间,首页精彩直播位置展示问题,社区图片5张图片展示问题]
This commit is contained in:
@@ -263,9 +263,6 @@ public class VideoPlayWrapViewHolder extends AbsViewHolder implements View.OnCli
|
||||
if (mVideoBean != null && mBtnFollow != null) {
|
||||
String toUid = mVideoBean.getUser_id();
|
||||
if (!TextUtils.isEmpty(toUid) && !toUid.equals(CommonAppConfig.getInstance().getUid())) {
|
||||
if (mBtnFollow.getVisibility() != View.VISIBLE) {
|
||||
mBtnFollow.setVisibility(View.VISIBLE);
|
||||
}
|
||||
if (bean.getIs_attention().equals("1")) {
|
||||
mBtnFollow.setImageDrawable(mFollowDrawable);
|
||||
} else {
|
||||
@@ -277,20 +274,6 @@ public class VideoPlayWrapViewHolder extends AbsViewHolder implements View.OnCli
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!Constants.myUid.endsWith(bean.getUser_id())) {
|
||||
if (bean.getIs_attention().equals("2")) {
|
||||
mBtnFollow.setVisibility(View.VISIBLE);
|
||||
if (bean.getIs_attention().equals("1")) {
|
||||
mBtnFollow.setImageDrawable(mFollowDrawable);
|
||||
} else {
|
||||
mBtnFollow.setImageDrawable(mUnFollowDrawable);
|
||||
}
|
||||
} else {
|
||||
mBtnFollow.setVisibility(View.GONE);
|
||||
}
|
||||
} else {
|
||||
mBtnFollow.setVisibility(View.GONE);
|
||||
}
|
||||
if (!StringUtil.isEmpty(bean.getTalk_name())) {
|
||||
List<String> tagList = new ArrayList<>();
|
||||
tagList.add("#" + bean.getTalk_name());
|
||||
|
||||
Reference in New Issue
Block a user