直播间神秘人修改
This commit is contained in:
parent
c9895781d5
commit
93e25f58f5
@ -244,15 +244,7 @@ public class UserMoreInfoAdapter extends RefreshAdapter<UserBean> {
|
||||
mRanksIcon.addView(rankImage, 0);
|
||||
}
|
||||
}
|
||||
if (bean.isHide() && (type.equals("5") || type.equals("4"))) {
|
||||
mName.setText(R.string.mystery_man);
|
||||
ImgLoader.display(mContext, R.mipmap.hide, mAvatar);
|
||||
itemView.findViewById(R.id.state).setVisibility(View.GONE);
|
||||
} else {
|
||||
ImgLoader.display(mContext, bean.getAvatar(), mAvatar);
|
||||
mName.setText(bean.getUserNiceName());
|
||||
itemView.findViewById(R.id.state).setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
if (bean.getDress() != null && bean.getDress().getAvatar_frame() != null) {
|
||||
gift_svga.setVisibility(View.VISIBLE);
|
||||
if (bean.getDress().getAvatar_frame().contains("svga")) {
|
||||
@ -262,7 +254,7 @@ public class UserMoreInfoAdapter extends RefreshAdapter<UserBean> {
|
||||
public void onComplete(SVGAVideoEntity videoItem) {
|
||||
SVGADrawable drawable = new SVGADrawable(videoItem);
|
||||
gift_svga.setImageDrawable(drawable);
|
||||
SVGAViewUtils.playEndClear(gift_svga);
|
||||
SVGAViewUtils.playEndClear(gift_svga,false);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -291,6 +283,17 @@ public class UserMoreInfoAdapter extends RefreshAdapter<UserBean> {
|
||||
if (levelBean != null) {
|
||||
ImgLoader.display(mContext, levelBean.getThumb(), mLevel);
|
||||
}
|
||||
if (bean.isHide() && (type.equals("5") || type.equals("4"))) {
|
||||
mName.setText(R.string.mystery_man);
|
||||
ImgLoader.display(mContext, R.mipmap.hide, mAvatar);
|
||||
itemView.findViewById(R.id.state).setVisibility(View.GONE);
|
||||
gift_svga.setVisibility(View.GONE);
|
||||
} else {
|
||||
ImgLoader.display(mContext, bean.getAvatar(), mAvatar);
|
||||
mName.setText(bean.getUserNiceName());
|
||||
itemView.findViewById(R.id.state).setVisibility(View.VISIBLE);
|
||||
gift_svga.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user