The Developer Preview for Android 11 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