定时器
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -464,7 +464,6 @@ class RoomPubFragment(var mRoomInfoResp: RoomInfoResp?) :
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
timer.stop()
|
||||
scope.cancel()
|
||||
}
|
||||
|
||||
fun event1203(messageEvent: RoomMessageEvent) {
|
||||
|
||||
Reference in New Issue
Block a user