lifecycle/extensions/src/main/java/androidx/lifecycle/ViewModelStores.java
@Deprecated
    @NonNull
    @MainThread
    public static ViewModelStore of(@NonNull Fragment fragment) {
        return fragment.getViewModelStore();
    }
/**
     * Returns the {@link ViewModelStore} of the given fragment.
     *
     * @param fragment a fragment whose {@code ViewModelStore} is requested
     * @return a {@code ViewModelStore}
     * @deprecated Use {@link Fragment#getViewModelStore()}
     */
Returns the  ViewModelStore of the given fragment.
@param fragment a fragment whose  ViewModelStore is requested
@return a  ViewModelStore
@deprecated Use  Fragment#getViewModelStore()
Returns the ViewModelStore of the given fragment . @param fragment a fragment whose ViewModelStore is requested @return a ViewModelStore @deprecated Use Fragment#getViewModelStore ()
@Deprecated
    @NonNull
    @MainThread
    public static ViewModelStore of(@NonNull Fragment fragment) {
        return fragment.getViewModelStore();
    }
@ Deprecated @ NonNull @ MainThread public static ViewModelStore of ( @ NonNull Fragment fragment ) { return fragment . getViewModelStore ( ) ; }
Returns the {@link ViewModelStore} of the given fragment.
Returns the { @link ViewModelStore } of the given fragment .