Pratinjau Developer Android 11 kedua kini tersedia, uji dan sampaikan masukan Anda.

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