La Vista previa para desarrolladores de Android 11 ya está disponible. Pruébala y comparte tus comentarios.

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