Skip to content

Commit

Permalink
[FIX/#211] 투두조회뷰 수정사항 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchbreeze committed Mar 5, 2024
1 parent b45092a commit 12fea0b
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,17 @@ class TodoDetailActivity :
initModBtnClickListener()
getIntentData()
initAllocatorListAdapter()
setDetailData()
resetDetailData()
observeTodoDetailState()
observeTodoDeleteState()
}

override fun onResume() {
super.onResume()

resetDetailData()
}

private fun initViewModel() {
binding.vm = viewModel
}
Expand Down Expand Up @@ -84,7 +90,7 @@ class TodoDetailActivity :
}
}

private fun setDetailData() {
private fun resetDetailData() {
viewModel.getTodoDetailFromServer()
}

Expand Down

0 comments on commit 12fea0b

Please sign in to comment.