Android 11 开发者预览版现已推出;快来测试并分享您的反馈吧

SavedStateRegistryOwner

public interface SavedStateRegistryOwner
implements LifecycleOwner

androidx.savedstate.SavedStateRegistryOwner


A scope that owns SavedStateRegistry

Summary

Public methods

abstract SavedStateRegistry getSavedStateRegistry()

Returns owned SavedStateRegistry

Inherited methods

Public methods

getSavedStateRegistry

public abstract SavedStateRegistry getSavedStateRegistry ()

Returns owned SavedStateRegistry

Returns
SavedStateRegistry a SavedStateRegistry