JM
Вот так будет все работать:
lifecycleScope.launch {
viewModel.isReadyToSignIn
.collect(
binding.signInButton
::setEnabled
)
}
lifecycleScope.launch {
binding.phoneEditText
.textChanges()
.collect(viewModel.phoneFlow)
}
lifecycleScope.launch {
binding.passwordEditText
.textChanges()
.collect(viewModel.passwordFlow)
}

