Skip to content

Commit

Permalink
#15 [fix] 함수 분리
Browse files Browse the repository at this point in the history
  • Loading branch information
stellar-halo committed Dec 7, 2023
1 parent 5662d55 commit 17c96bb
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class SignUpActivity : BindingActivity<ActivitySignUpBinding>(R.layout.activity_

initOnClickListener()
initSignUpStateObserver()
initSignUpFormsObserver()
}

private fun initOnClickListener() {
Expand All @@ -37,6 +38,9 @@ class SignUpActivity : BindingActivity<ActivitySignUpBinding>(R.layout.activity_
if (success) signUp()
else toast(SIGN_UP_FAILED)
}
}

private fun initSignUpFormsObserver() {
viewModel.id.observe(this) { _ ->
viewModel.updateIsMeetCriteria()
}
Expand Down

0 comments on commit 17c96bb

Please sign in to comment.