• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: How can I use checkbox control in jetpack compose?

Resolved: How can I use checkbox control in jetpack compose?

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

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 the

I 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:

Move isChecked out of Rowand add enabled = isChecked.value to login button, so now only if the Checkbox isChecked the login button will be enabled

If you have better answer, please add a comment about this, thank you!

android-jetpack-compose kotlin
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: Convert function is not working with {fn } in SQL Server

24/03/2023

Resolved: Why reference in pointer array doesn’t have data?

24/03/2023

Resolved: EntityFramework creates/runs migrations using parameterless DataContext instance

24/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.