라이브
- 최대 스피커 수 방장 포함 6명으로 변경
This commit is contained in:
@@ -321,7 +321,7 @@ class LiveRoomActivity : BaseActivity<ActivityLiveRoomBinding>(ActivityLiveRoomB
|
||||
)
|
||||
},
|
||||
onClickInviteSpeaker = { memberId ->
|
||||
if (speakerListAdapter.itemCount <= 4) {
|
||||
if (speakerListAdapter.itemCount <= 5) {
|
||||
inviteSpeaker(memberId)
|
||||
} else {
|
||||
showToast("스피커 정원이 초과했습니다.")
|
||||
@@ -404,7 +404,7 @@ class LiveRoomActivity : BaseActivity<ActivityLiveRoomBinding>(ActivityLiveRoomB
|
||||
)
|
||||
},
|
||||
onClickInviteSpeaker = {
|
||||
if (speakerListAdapter.itemCount <= 4) {
|
||||
if (speakerListAdapter.itemCount <= 5) {
|
||||
inviteSpeaker(it)
|
||||
} else {
|
||||
showToast("스피커 정원이 초과했습니다.")
|
||||
@@ -1129,8 +1129,8 @@ class LiveRoomActivity : BaseActivity<ActivityLiveRoomBinding>(ActivityLiveRoomB
|
||||
) {
|
||||
super.getItemOffsets(outRect, view, parent, state)
|
||||
|
||||
outRect.left = 4f.dpToPx().toInt()
|
||||
outRect.right = 4f.dpToPx().toInt()
|
||||
outRect.left = 2f.dpToPx().toInt()
|
||||
outRect.right = 2f.dpToPx().toInt()
|
||||
}
|
||||
})
|
||||
rvSpeakers.adapter = speakerListAdapter
|
||||
|
||||
@@ -35,8 +35,8 @@ class LiveRoomProfileListAdapter : RecyclerView.Adapter<LiveRoomProfileListAdapt
|
||||
}
|
||||
|
||||
val ivMuteLp = binding.ivMute.layoutParams
|
||||
ivMuteLp.width = 30f.dpToPx().toInt()
|
||||
ivMuteLp.height = 30f.dpToPx().toInt()
|
||||
ivMuteLp.width = 28f.dpToPx().toInt()
|
||||
ivMuteLp.height = 28f.dpToPx().toInt()
|
||||
binding.ivMute.layoutParams = ivMuteLp
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user