|
@@ -1,6 +1,5 @@
|
|
package com.swago.room.user
|
|
package com.swago.room.user
|
|
|
|
|
|
-import android.util.Log
|
|
|
|
import android.view.View
|
|
import android.view.View
|
|
import android.view.ViewGroup
|
|
import android.view.ViewGroup
|
|
import android.view.WindowManager
|
|
import android.view.WindowManager
|
|
@@ -34,7 +33,11 @@ import com.swago.baseswago.model.live.pk.ProcessPKModel
|
|
import com.swago.baseswago.model.live.pk.PunishPKModel
|
|
import com.swago.baseswago.model.live.pk.PunishPKModel
|
|
import com.swago.baseswago.model.live.pk.StartPKModel
|
|
import com.swago.baseswago.model.live.pk.StartPKModel
|
|
import com.swago.baseswago.model.live.pk.StopPKModel
|
|
import com.swago.baseswago.model.live.pk.StopPKModel
|
|
-import com.swago.baseswago.util.*
|
|
|
|
|
|
+import com.swago.baseswago.util.AppContext
|
|
|
|
+import com.swago.baseswago.util.DpPxUtil
|
|
|
|
+import com.swago.baseswago.util.LogUtil
|
|
|
|
+import com.swago.baseswago.util.NoDoubleClickListener
|
|
|
|
+import com.swago.baseswago.util.UserInfo
|
|
import com.swago.loadUrlNoPlaceHolder
|
|
import com.swago.loadUrlNoPlaceHolder
|
|
import com.swago.room.R
|
|
import com.swago.room.R
|
|
import com.swago.room.audio.AudioRoomManager
|
|
import com.swago.room.audio.AudioRoomManager
|
|
@@ -42,6 +45,7 @@ import com.swago.room.audio.IAudioRoomListener
|
|
import com.swago.room.base.NoContentFragment
|
|
import com.swago.room.base.NoContentFragment
|
|
import com.swago.room.bean.UserRoomModel
|
|
import com.swago.room.bean.UserRoomModel
|
|
import com.swago.room.data.RoomDataManager
|
|
import com.swago.room.data.RoomDataManager
|
|
|
|
+import com.swago.room.dialog.HouseGoLiveDialog
|
|
import com.swago.room.enum.RoomType
|
|
import com.swago.room.enum.RoomType
|
|
import com.swago.room.lianmai.ILianMaiListener
|
|
import com.swago.room.lianmai.ILianMaiListener
|
|
import com.swago.room.lianmai.LianMaiManager
|
|
import com.swago.room.lianmai.LianMaiManager
|
|
@@ -233,6 +237,17 @@ class UserRoomActivity : AbsUserActivity<ActivityAbsRoomUserBinding, UserRoomMod
|
|
lianMaiVm.anchorRefuseUserLianMai = {
|
|
lianMaiVm.anchorRefuseUserLianMai = {
|
|
setRvState(true)
|
|
setRvState(true)
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ msgVm.openHouseOpenLiveFun = {
|
|
|
|
+ HouseGoLiveDialog.newInstance(it.anchorAvatar).apply {
|
|
|
|
+ this.goLive = {
|
|
|
|
+ data?.get(position)?.user_broadcast_status = 1
|
|
|
|
+ data?.get(position)?.user_broadcast_type = it.user_broadcast_type
|
|
|
|
+ data?.get(position)?.broadcast_password_status = it.broadcast_password_status
|
|
|
|
+ scrollToPosition(position)
|
|
|
|
+ }
|
|
|
|
+ }.show(supportFragmentManager,"HouseGoLiveDialog")
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
override fun changeRoom(iRoomInfo: IRoomInfo) {
|
|
override fun changeRoom(iRoomInfo: IRoomInfo) {
|