© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
King James
What about surviving process death and you want the bottomsheet to still be up when the user returns?
Shreyas Patil
👨💻 Google Developer Expert for Android | ❤️ All things Android & Kotlin
Then this is again a UI's responsibility. ViewModel will only hold data required for UI and only data should survive process death and recovery. Not UI state in ViewModel.