크리에이터가 말할 때 크리에이터 배경 표시

This commit is contained in:
2024-01-16 15:59:34 +09:00
parent 9d97feb184
commit 869b83804d
2 changed files with 13 additions and 0 deletions

View File

@@ -1477,6 +1477,12 @@ class LiveRoomActivity : BaseActivity<ActivityLiveRoomBinding>(ActivityLiveRoomB
speakerListAdapter.activeSpeakers.clear()
speakerListAdapter.activeSpeakers.addAll(activeSpeakerIds)
speakerListAdapter.notifyDataSetChanged()
if (activeSpeakerIds.contains(viewModel.roomInfoResponse.creatorId.toInt())) {
binding.ivCreatorProfileBg.visibility = View.VISIBLE
} else {
binding.ivCreatorProfileBg.visibility = View.GONE
}
}
}