diff --git a/app/src/main/java/org/sopt/dosopttemplate/presentation/signUp/SignUpActivity.kt b/app/src/main/java/org/sopt/dosopttemplate/presentation/signUp/SignUpActivity.kt index 20d7dc0..bc6f0ce 100644 --- a/app/src/main/java/org/sopt/dosopttemplate/presentation/signUp/SignUpActivity.kt +++ b/app/src/main/java/org/sopt/dosopttemplate/presentation/signUp/SignUpActivity.kt @@ -19,6 +19,7 @@ class SignUpActivity : BindingActivity(R.layout.activity_ initOnClickListener() initSignUpStateObserver() + initSignUpFormsObserver() } private fun initOnClickListener() { @@ -37,6 +38,9 @@ class SignUpActivity : BindingActivity(R.layout.activity_ if (success) signUp() else toast(SIGN_UP_FAILED) } + } + + private fun initSignUpFormsObserver() { viewModel.id.observe(this) { _ -> viewModel.updateIsMeetCriteria() }