라이브 메인 - 커뮤니티 클릭 이벤트 추가
This commit is contained in:
@@ -28,6 +28,7 @@ import kr.co.vividnext.sodalive.common.SharedPreferenceManager
|
||||
import kr.co.vividnext.sodalive.databinding.FragmentLiveBinding
|
||||
import kr.co.vividnext.sodalive.explorer.profile.UserProfileActivity
|
||||
import kr.co.vividnext.sodalive.explorer.profile.creator_community.CreatorCommunityAdapter
|
||||
import kr.co.vividnext.sodalive.explorer.profile.creator_community.all.CreatorCommunityAllActivity
|
||||
import kr.co.vividnext.sodalive.extensions.dpToPx
|
||||
import kr.co.vividnext.sodalive.extensions.moneyFormat
|
||||
import kr.co.vividnext.sodalive.following.FollowingCreatorActivity
|
||||
@@ -535,7 +536,16 @@ class LiveFragment : BaseFragment<FragmentLiveBinding>(FragmentLiveBinding::infl
|
||||
}
|
||||
})
|
||||
|
||||
creatorCommunityAdapter = CreatorCommunityAdapter {}
|
||||
creatorCommunityAdapter = CreatorCommunityAdapter {
|
||||
startActivity(
|
||||
Intent(
|
||||
requireActivity(),
|
||||
CreatorCommunityAllActivity::class.java
|
||||
).apply {
|
||||
putExtra(Constants.EXTRA_COMMUNITY_CREATOR_ID, it)
|
||||
}
|
||||
)
|
||||
}
|
||||
binding.rvCommunityPost.adapter = creatorCommunityAdapter
|
||||
|
||||
viewModel.communityPostItemLiveData.observe(viewLifecycleOwner) {
|
||||
|
||||
Reference in New Issue
Block a user