Skip to content

Commit

Permalink
#15 [add] id, password 변경 때마다 조건 충족하는지 확인 후 변수 값 update
Browse files Browse the repository at this point in the history
  • Loading branch information
stellar-halo committed Dec 5, 2023
1 parent 2ed9bdf commit 13c2c80
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ class SignUpActivity : BindingActivity<ActivitySignUpBinding>(R.layout.activity_
if (success) signUp()
else toast(SIGN_UP_FAILED)
}
viewModel.id.observe(this) { _ ->
viewModel.updateIsMeetCriteria()
}
viewModel.password.observe(this) { _ ->
viewModel.updateIsMeetCriteria()
}
}

private fun signUp() {
Expand Down

0 comments on commit 13c2c80

Please sign in to comment.