补充守护icon注释
This commit is contained in:
parent
d243ffb380
commit
3b1c5ac1ec
@ -2138,6 +2138,10 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 旧接口,主播端还在用这个,暂时保留,用户端用{@link #setGuardIcon(GuardUserModel)}
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
private void setGuardIcon(LiveUserGiftBean guard) {
|
private void setGuardIcon(LiveUserGiftBean guard) {
|
||||||
if (guard != null) {
|
if (guard != null) {
|
||||||
nowGuardUser = guard;
|
nowGuardUser = guard;
|
||||||
@ -2151,9 +2155,8 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 接口整合守护展示
|
* 接口整合守护展示,用户端使用
|
||||||
*
|
*
|
||||||
* @param model
|
|
||||||
*/
|
*/
|
||||||
public void setGuardIcon(GuardUserModel model) {
|
public void setGuardIcon(GuardUserModel model) {
|
||||||
if (model != null && !TextUtils.isEmpty(model.getGuardUserAvatar())) {
|
if (model != null && !TextUtils.isEmpty(model.getGuardUserAvatar())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user