What should I use to save a switch button state in...
# android
s
What should I use to save a switch button state in the app? Im only finding how to do it in java and not kotlin on the web
f
Save the state in the viewmodel and update your view according to the state in the viewmodel.
s
I cant find a Kotlin guide to do this, do you know any?