定时器

This commit is contained in:
2026-01-08 18:39:31 +08:00
parent a8328ac8b9
commit ab228eb05d
2 changed files with 3 additions and 1 deletions

View File

@@ -964,6 +964,9 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
number = roomBean.online_number
mBinding!!.roomTop.tvNum.text = number.toString() + ""
mBinding?.rlMessage?.visibility = View.VISIBLE
mBinding?.rlGift?.visibility = View.VISIBLE
// Set initial view if not switching room type
if (!isSwitchRoomType) {
setviewyc(true)

View File

@@ -464,7 +464,6 @@ class RoomPubFragment(var mRoomInfoResp: RoomInfoResp?) :
override fun onDestroy() {
super.onDestroy()
timer.stop()
scope.cancel()
}
fun event1203(messageEvent: RoomMessageEvent) {