ViewTreeViewModelKt

public final class ViewTreeViewModelKt


Summary

Public methods

static final ViewModelStoreOwner

Locates the ViewModelStoreOwner associated with this View, if present.

Public methods

ViewTreeViewModelKt.findViewTreeViewModelStoreOwner

public static final ViewModelStoreOwner ViewTreeViewModelKt.findViewTreeViewModelStoreOwner(View receiver)

Locates the ViewModelStoreOwner associated with this View, if present. This may be used to retain state associated with this view across configuration changes.