Question:
I am try to use sign in for android jetpack compose, when I click the button it works, but I want to use the checkbox in my project for users accept theI Agree to App Terms of Service and Privacy Policy.
privacy policy for my app, and if users uncheck the checkbox, they will not able to login, but if click the check, they can login, is there a way to control it for users, any idea?
Answer:
MoveisChecked
out of Row
and add enabled = isChecked.value
to login button, so now only if the Checkbox isChecked the login button will be enabledIf you have better answer, please add a comment about this, thank you!