public final class ViewModelLazy<VM extends ViewModel>
An implementation of
Lazy used by androidx.fragment.app.Fragment.viewModels and androidx.activity.ComponentActivity.viewmodels.
storeProducer is a lambda that will be called during initialization,
VM will be created in the scope of returned
factoryProducer is a lambda that will be called during initialization, returned
ViewModelProvider.Factory will be used for creation of