fix bugs.1
This commit is contained in:
@@ -2091,8 +2091,12 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
|
||||
}
|
||||
// 将视图放回池中
|
||||
currentMqttView?.visibility = View.GONE
|
||||
floatingViewPool.add(currentMqttView!!)
|
||||
currentMqttView = null
|
||||
try {
|
||||
floatingViewPool.add(currentMqttView!!)
|
||||
currentMqttView = null
|
||||
}catch (e:Exception){
|
||||
LogUtils.e("飘屏显示异常", e)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -3777,7 +3781,7 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
|
||||
super.onWindowFocusChanged(hasFocus)
|
||||
LogUtils.e("RoomActivity", "onWindowFocusChanged")
|
||||
if (hasFocus && !isLayoutAdjusted) {
|
||||
adjustLayoutHeights()
|
||||
// adjustLayoutHeights()
|
||||
isLayoutAdjusted = true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@ public class ChatRoomFragment extends BaseMvpFragment<ChatRoomPresenter, RoomFra
|
||||
this.roomId = roomInfoResp.getRoom_info().getRoom_id();
|
||||
|
||||
RoomMessageEvent.T t = new RoomMessageEvent.T();
|
||||
t.setText("羽声严禁未成年人进行直播或打赏,官方将24小时在线巡查。我们提倡绿色直播,直播间严禁出现涉政、涉恐、涉黄、涉赌等违法违规内容,严禁宣传封建迷信、宗教极端思想、出现低俗色情、吸烟酗酒等内容,严禁违反社会主义核心价值观、践踏社会道德底线、诱导打赏、低俗 PK 、买卖金币等行为,请大家共同遵守、监督并及时举报。请勿相信各类刷钻、购买礼包、游戏币及电商贩卖等非官方广告信息,谨防网络诈骗。");
|
||||
t.setText("羽声语音严禁未成年人进行直播或打赏,官方将24小时在线巡查。我们提倡绿色直播,直播间严禁出现涉政、涉恐、涉黄、涉赌等违法违规内容,严禁宣传封建迷信、宗教极端思想、出现低俗色情、吸烟酗酒等内容,严禁违反社会主义核心价值观、践踏社会道德底线、诱导打赏、低俗 PK 、买卖金币等行为,请大家共同遵守、监督并及时举报。请勿相信各类刷钻、购买礼包、游戏币及电商贩卖等非官方广告信息,谨防网络诈骗。");
|
||||
// 加入群组成功
|
||||
handleRoomMessage(new RoomMessageEvent(1000, roomId, t));
|
||||
onChatRoomViewCreation();
|
||||
|
||||
@@ -277,8 +277,9 @@ public class RoomBackgroundDialogFragment extends BaseMvpDialogFragment<RoomBack
|
||||
listWithAddBtn.add(addBg);
|
||||
listWithAddBtn.addAll(myBgList);
|
||||
mAdapter.setNewData(listWithAddBtn); // 更新 adapter 数据并刷新
|
||||
}else {
|
||||
mAdapter.setNewData(publicBgList);
|
||||
}
|
||||
mAdapter.setNewData(publicBgList);
|
||||
}
|
||||
|
||||
private static class MyAdapter extends BaseQuickAdapter<RoomBgBean.RoomBg, BaseViewHolder> {
|
||||
|
||||
Reference in New Issue
Block a user