androidx.savedstate:savedstate

Official Description: Provides the base Activity subclass and the relevant hooks to build a composable structure on top.

CommonsWare’s Notes

This artifact contains SavedStateRegistry and SavedStateRegistryOwner, the foundation classes implementing a wrapper around the saved instance state logic in activities and fragments.

Generally, you will not use this artifact directly yourself, but rather get it as a transitive dependency from something else, such as lifecycle-viewmodel-savedstate.

Documentation

Versions