Save And Restore State In Jetpack Compose Without A View model

Опубликовано: 24 Март 2026
на канале: Said
2,002
44

Hello guys in this jetpack compose tutorial we are going to learn how to save and restore state across configuration changes and process death without using a view model.

00:00 introduction
00:16 Counter UI
03:23 why not use viewModel always for saving state
4:04 How to save state for objects that can't be added in a bundle.
8:10 How to create custom state savers
14:54 How to save list state
19:25 Next managing state complexity in compose