Guide116K views4,587 votes1 reply1 comment832 following
Choosing state persistence in Jetpack Compose: rememberSaveable vs ViewModel with SavedStateHandle vs external storage
A decision guide for persisting Jetpack Compose UI state across configuration changes and process death, comparing rememberSaveable, ViewModel with SavedStateHandle, and external persistence with trade-offs and a concrete hoisting pattern.