77 签约房内切换初始化数据,红包闪退
This commit is contained in:
@@ -2936,12 +2936,18 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
|
||||
|
||||
// TODO:不进入 2025/8/26 加入房间
|
||||
override fun roomInfo(resp: RoomInfoResp) {
|
||||
if (resp.sign_info != null) {
|
||||
LogUtils.e("roomInfo", resp.sign_info.toString())
|
||||
}
|
||||
mRoomInfoResp = resp
|
||||
isOnline = true
|
||||
password = ""
|
||||
roomId = mRoomInfoResp?.room_info?.room_id
|
||||
taskId = null
|
||||
initPublicScreenFragment()
|
||||
|
||||
MvpPre?.getRoomOnline(roomId, "1", "10")
|
||||
LogUtils.e("roomInfo",mRoomInfoResp?.sign_info.toString())
|
||||
setView(resp)
|
||||
}
|
||||
|
||||
|
||||
@@ -348,6 +348,11 @@ class RoomMentorShipFragment(var mRoomInfoResp: RoomInfoResp?) :
|
||||
|
||||
fun roomTypeSwitch(roomInfoResp: RoomInfoResp) {
|
||||
this.mRoomInfoResp = roomInfoResp
|
||||
//重新初始化
|
||||
if (isStart){
|
||||
stopTimer()
|
||||
isStart = false
|
||||
}
|
||||
mUserInfo = this.mRoomInfoResp?.user_info
|
||||
mRoomId = this.mRoomInfoResp?.room_info?.room_id!!
|
||||
initView()
|
||||
|
||||
@@ -453,7 +453,7 @@ public class GiftLotteryDialog extends BaseMvpDialogFragment<GiftLotteryPresente
|
||||
} catch (Exception e) {
|
||||
viewName = "未知View ID: " + id;
|
||||
}
|
||||
LogUtils.e("GiftLotteryDFragment","点击了" + viewName );
|
||||
LogUtils.e("GiftLotteryDFragment","点击了" + viewName +",isDrawing="+isDrawing);
|
||||
}
|
||||
|
||||
private void setBackground() {
|
||||
|
||||
Reference in New Issue
Block a user