1:修改踩的逻辑
2:修改巡乐会布局
This commit is contained in:
@@ -3531,10 +3531,17 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
|
||||
}
|
||||
}
|
||||
mBinding!!.ivQuanC.setOnClickListener { v: View? ->
|
||||
ARouter.getInstance().build(ARouteConstants.ROOM_DETAILS)
|
||||
.withString("from", "我的界面")
|
||||
.withString("roomId", mRoomInfoResp!!.room_info.head_line.room_id)
|
||||
.navigation()
|
||||
if (mRoomInfoResp!!.room_info.head_line.room_id != null && mRoomInfoResp!!.room_info.head_line.room_id.isNotEmpty()){
|
||||
if (mRoomInfoResp!!.room_info.head_line.room_id != roomId){
|
||||
RoomManager.getInstance().fetchRoomDataAndEnter(applicationContext,mRoomInfoResp!!.room_info.head_line.room_id,"")
|
||||
}else{
|
||||
com.blankj.utilcode.util.ToastUtils.showLong("您就在当前房间")
|
||||
}
|
||||
}
|
||||
// ARouter.getInstance().build(ARouteConstants.ROOM_DETAILS)
|
||||
// .withString("from", "我的界面")
|
||||
// .withString("roomId", mRoomInfoResp!!.room_info.head_line.room_id)
|
||||
// .navigation()
|
||||
}
|
||||
|
||||
mBinding!!.imYc.setOnClickListener { v: View? ->
|
||||
|
||||
Reference in New Issue
Block a user