The second Android 11 Developer Preview is now available, test it out and share your feedback.

SavedStateRegistryOwner

interface SavedStateRegistryOwner : LifecycleOwner
androidx.savedstate.SavedStateRegistryOwner

A scope that owns SavedStateRegistry

Summary

Public methods

abstract SavedStateRegistry

Returns owned SavedStateRegistry

Inherited functions

Public methods

getSavedStateRegistry

@NonNull abstract fun getSavedStateRegistry(): SavedStateRegistry

Returns owned SavedStateRegistry

Return
SavedStateRegistry a SavedStateRegistry