라이브 방 - 배경 이미지 로딩 시 placeholder 제거

This commit is contained in:
klaus 2023-11-24 21:49:01 +09:00
parent fe121ee89b
commit b359ca58ba
1 changed files with 2 additions and 8 deletions

View File

@ -647,10 +647,7 @@ class LiveRoomActivity : BaseActivity<ActivityLiveRoomBinding>(ActivityLiveRoomB
} }
binding.tvTitle.text = response.title binding.tvTitle.text = response.title
binding.ivCover.load(response.coverImageUrl) { binding.ivCover.load(response.coverImageUrl)
crossfade(true)
placeholder(R.drawable.ic_place_holder)
}
binding.flDonation.visibility = binding.flDonation.visibility =
if (response.creatorId != SharedPreferenceManager.userId) { if (response.creatorId != SharedPreferenceManager.userId) {
@ -710,10 +707,7 @@ class LiveRoomActivity : BaseActivity<ActivityLiveRoomBinding>(ActivityLiveRoomB
setNoticeAndClickableUrl(binding.tvNotice, newContent) setNoticeAndClickableUrl(binding.tvNotice, newContent)
if (newCoverImageUri != null) { if (newCoverImageUri != null) {
binding.ivCover.load(newCoverImageUri) { binding.ivCover.load(newCoverImageUri)
crossfade(true)
placeholder(R.drawable.ic_place_holder)
}
} }
agora.sendRawMessageToGroup( agora.sendRawMessageToGroup(