fix: 메인 홈 - 인기 크리에이터
- 팔로우/팔로잉 배경색 변경
This commit is contained in:
@@ -407,7 +407,14 @@ class LiveFragment : BaseFragment<FragmentLiveBinding>(FragmentLiveBinding::infl
|
||||
recyclerView.adapter = adapter
|
||||
|
||||
viewModel.latestFinishedLiveListLiveData.observe(viewLifecycleOwner) {
|
||||
adapter.addItems(it)
|
||||
if (it.isNotEmpty()) {
|
||||
adapter.addItems(it)
|
||||
binding.llLatestFinishedLiveChannel.visibility = View.VISIBLE
|
||||
binding.rvLatestFinishedLiveChannel.visibility = View.VISIBLE
|
||||
} else {
|
||||
binding.llLatestFinishedLiveChannel.visibility = View.GONE
|
||||
binding.rvLatestFinishedLiveChannel.visibility = View.GONE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user