Skip to content

Nunocky/SavedStateHandleStudy

Repository files navigation

SavedStateHandleStudy

Save and Restoring ViewModel data using SavedStateHandle

main branch : with SavedStateHandle

Using SavedStateHandle, the ViewModel data can be restored when returning to the application, even if memory is released during task switching.

main.mp4

bad branch : without SavedStateHandle

Without the SavedStateHandle, the ViewModel data will be lost when returning to the application after memory has been released during other task use.

bad.mp4

About

Save and Restoring ViewModel using SavedStateHandle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages