补充守护icon注释

This commit is contained in:
zlzw 2022-12-01 18:06:30 +08:00
parent d243ffb380
commit 3b1c5ac1ec

View File

@ -2138,6 +2138,10 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
});
}
/**
* 旧接口主播端还在用这个暂时保留用户端用{@link #setGuardIcon(GuardUserModel)}
*/
@Deprecated
private void setGuardIcon(LiveUserGiftBean guard) {
if (guard != null) {
nowGuardUser = guard;
@ -2151,9 +2155,8 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
}
/**
* 接口整合守护展示
* 接口整合守护展示,用户端使用
*
* @param model
*/
public void setGuardIcon(GuardUserModel model) {
if (model != null && !TextUtils.isEmpty(model.getGuardUserAvatar())) {