Skip to content

Commit

Permalink
[CHORE/#374] 함수 호출 순서 정렬
Browse files Browse the repository at this point in the history
  • Loading branch information
b1urrrr committed Feb 8, 2024
1 parent 6cff21a commit 49247a1
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ class EventActivity : BindingActivity<ActivityEventBinding>(R.layout.activity_ev
getEventExtra()
}

private fun initRewardAdapter() {
rewardAdapter = RewardAdapter()
binding.rvEventRewardItem.adapter = rewardAdapter
}

private fun getEventExtra() {
val event = intent.getCompatibleParcelableExtra<ParcelableEvent>(EXTRA_EVENT) ?: return
with(event) {
Expand All @@ -48,11 +53,6 @@ class EventActivity : BindingActivity<ActivityEventBinding>(R.layout.activity_ev
viewModel.setIdempotencyKey(intent.getStringExtra(EXTRA_IDEMPOTENCY_KEY) ?: return)
}

private fun initRewardAdapter() {
rewardAdapter = RewardAdapter()
binding.rvEventRewardItem.adapter = rewardAdapter
}

private fun initEventLottieClickListener() {
// TODO: 필요하면 터치 영역 조정
with(binding) {
Expand Down

0 comments on commit 49247a1

Please sign in to comment.