moko-mvvm icon indicating copy to clipboard operation
moko-mvvm copied to clipboard

Support for state restoration after process death

Open Zhuinden opened this issue 2 years ago • 1 comments

It seems that ViewModel has no support for SavedStateHandle, nor is onSaveInstanceState/savedInstanceState handled in any way in any code within this repository.

What is the recommended approach that makes it possible to implement correct state persistence across process death as per OS requirements for Android?

Zhuinden avatar Aug 07 '22 22:08 Zhuinden

Commenting to bring attention back to this enhancement. This would be a great addition to the library.

LiamDeGrey avatar Jul 25 '23 22:07 LiamDeGrey