Searched defs:ViewModelStore (Results 1 - 1 of 1) sorted by relevance

/frameworks/support/lifecycle/viewmodel/src/main/java/androidx/lifecycle/
H A DViewModelStore.java24 * An instance of {@code ViewModelStore} must be retained through configuration changes:
25 * if an owner of this {@code ViewModelStore} is destroyed and recreated due to configuration
27 * {@code ViewModelStore}.
29 * If an owner of this {@code ViewModelStore} is destroyed and is not going to be recreated,
30 * then it should call {@link #clear()} on this {@code ViewModelStore}, so {@code ViewModels} would
33 * Use {@link ViewModelStoreOwner#getViewModelStore()} to retrieve a {@code ViewModelStore} for
36 public class ViewModelStore { class

Completed in 83 milliseconds