update:守护列表改版 -补注释

This commit is contained in:
zlzw 2022-08-29 17:14:22 +08:00
parent 25e13dc1b7
commit 5cda11c96f
2 changed files with 1 additions and 6 deletions

View File

@ -135,7 +135,6 @@ public abstract class LiveActivity extends AbsActivity implements SocketMessageL
private LiveChatRoomDialogFragment mLiveChatRoomDialogFragment;//私信聊天窗口 private LiveChatRoomDialogFragment mLiveChatRoomDialogFragment;//私信聊天窗口
protected LiveGuardInfo mLiveGuardInfo; protected LiveGuardInfo mLiveGuardInfo;
private HashSet<DialogFragment> mDialogFragmentSet; private HashSet<DialogFragment> mDialogFragmentSet;
private LiveEnterRoomBean userBean;//用户信息
// public static boolean isRy = true; // public static boolean isRy = true;
@Override @Override
@ -263,9 +262,6 @@ public abstract class LiveActivity extends AbsActivity implements SocketMessageL
mLiveRoomViewHolder.onEnterRoom(bean); mLiveRoomViewHolder.onEnterRoom(bean);
} }
} }
public void setEnterRoomData(LiveEnterRoomBean bean){
userBean=bean;
}
/** /**
@ -1334,7 +1330,7 @@ public abstract class LiveActivity extends AbsActivity implements SocketMessageL
bundle.putString(Constants.LIVE_ANCHER_NAME, mAncherName); bundle.putString(Constants.LIVE_ANCHER_NAME, mAncherName);
bundle.putString(Constants.STREAM, mStream); bundle.putString(Constants.STREAM, mStream);
bundle.putString(Constants.LIVE_ANCHER_ICON,mAncherIcon); bundle.putString(Constants.LIVE_ANCHER_ICON,mAncherIcon);
bundle.putString(Constants.USER_ICON,userBean.getUserBean().getAvatar()); bundle.putString(Constants.USER_ICON,CommonAppConfig.getInstance().getUserBean().getAvatar());
fragment.setArguments(bundle); fragment.setArguments(bundle);
fragment.show(getSupportFragmentManager(), "LiveGuardBuyDialogFragment"); fragment.show(getSupportFragmentManager(), "LiveGuardBuyDialogFragment");
} }

View File

@ -1811,7 +1811,6 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
} }
setGuardIcon(tmp); setGuardIcon(tmp);
} }
((LiveActivity)mContext).setEnterRoomData(bean);
} }
/** /**