추천 라이브 터치 액션 추가
This commit is contained in:
@@ -164,6 +164,11 @@ class LiveFragment : BaseFragment<FragmentLiveBinding>(FragmentLiveBinding::infl
|
|||||||
|
|
||||||
binding.layoutRecommendLive.pager.apply {
|
binding.layoutRecommendLive.pager.apply {
|
||||||
adapter = RecommendLiveAdapter(pagerWidth.roundToInt(), pagerHeight) {
|
adapter = RecommendLiveAdapter(pagerWidth.roundToInt(), pagerHeight) {
|
||||||
|
startActivity(
|
||||||
|
Intent(requireContext(), UserProfileActivity::class.java).apply {
|
||||||
|
putExtra(Constants.EXTRA_USER_ID, it)
|
||||||
|
}
|
||||||
|
)
|
||||||
} as BaseBannerAdapter<Any>
|
} as BaseBannerAdapter<Any>
|
||||||
|
|
||||||
setLifecycleRegistry(lifecycle)
|
setLifecycleRegistry(lifecycle)
|
||||||
|
Reference in New Issue
Block a user