https://kotlinlang.org logo
#android
Title
# android
s

Seuan Rahman

03/19/2021, 12:36 PM
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

Farid Mrz

03/22/2021, 8:33 AM
Save the state in the viewmodel and update your view according to the state in the viewmodel.
s

Seuan Rahman

03/22/2021, 8:37 AM
I cant find a Kotlin guide to do this, do you know any?
9 Views