fix(home): On Air 라이브 아이템 UI를 보완한다

This commit is contained in:
2026-07-03 14:47:27 +09:00
parent f74f5a534d
commit f9030ffd13
3 changed files with 74 additions and 71 deletions
@@ -8,7 +8,6 @@ import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import kr.co.vividnext.sodalive.R
import kr.co.vividnext.sodalive.common.formatUtcRelativeTimeText
import kr.co.vividnext.sodalive.extensions.loadUrl
import kr.co.vividnext.sodalive.v2.main.home.model.HomeFollowingLiveUiItem
class HomeFollowingLiveAdapter(
@@ -37,14 +36,12 @@ class HomeFollowingLiveAdapter(
itemView: View,
private val onClickItem: (HomeFollowingLiveUiItem) -> Unit
) : RecyclerView.ViewHolder(itemView) {
private val thumbnailImage = itemView.findViewById<ImageView>(R.id.iv_home_following_live_thumbnail)
private val profileImage = itemView.findViewById<ImageView>(R.id.iv_home_following_live_creator_profile)
private val titleText = itemView.findViewById<TextView>(R.id.tv_home_following_live_title)
private val nicknameText = itemView.findViewById<TextView>(R.id.tv_home_following_live_creator_nickname)
private val startedAtText = itemView.findViewById<TextView>(R.id.tv_home_following_live_started_at)
fun bind(item: HomeFollowingLiveUiItem) {
thumbnailImage.loadUrl(item.creatorProfileImageUrl)
profileImage.loadHomeCreatorProfileImage(item.creatorProfileImageUrl)
titleText.text = item.title
nicknameText.text = item.creatorNickname