추천 라이브 터치 액션 추가
This commit is contained in:
parent
6d93da2136
commit
8db80f2da9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue