Has anyone else tried using the saved state librar...
# android-architecture
m
Has anyone else tried using the saved state library before? Wondering what your approach to view models is. I'm using a property delegate, so i can do something like this. This seems a lot cleaner than having get() and set() methods strewn about all over your view models.
Copy code
var submitButtonEnabled: Boolean by SavedStateHandleDelegate(savedStateHandle, false)
👍 1