androidx.lifecycle:lifecycle-viewmodel-savedstate
Official Description: Android Lifecycle ViewModel
CommonsWare’s Notes
This artifact offers SavedStateHandle
and related classes, allowing
a ViewModel
to participate in the saved instance state Bundle
associated with its activity or fragment. This allows you to keep state
management in one place, putting items into the SavedStateHandle
where relevant and practical, while keeping other objects simply in
the ViewModel
itself.
Note that the version numbers for this artifact are not synchronized with
other ViewModel
-related artifacts.
Documentation
Knowledge
Versions
- Latest Stable: 2.3.0
- Latest Release Candidate: 2.3.0-rc01
- Latest Beta: 2.3.0-beta01
- Latest Alpha: 2.3.0-alpha07