ViewKt

public final class ViewKt


Summary

Public methods

static final @Nullable SavedStateRegistryOwner

Locates the SavedStateRegistryOwner associated with this View, if present.

Public methods

ViewKt.findViewTreeSavedStateRegistryOwner

@Nullable
public static final SavedStateRegistryOwner ViewKt.findViewTreeSavedStateRegistryOwner(@NonNull View receiver)

Locates the SavedStateRegistryOwner associated with this View, if present. This may be used to save and restore the state associated with this view.