Navigation View Model Delegate Factory
Functions
createLazyNavigationViewModel
Link copied to clipboard
abstract fun <S : MavericksState, T : Fragment, MavericksView, VM : MavericksViewModel<S>> createLazyNavigationViewModel(fragment: T, viewModelProperty: KProperty<*>, viewModelClass: KClass<VM>, keyFactory: () -> String, stateClass: KClass<S>, @IdRes() navGraphId: Int, viewModelProvider: (stateFactory: MavericksStateFactory<VM, S>, backStackEntry: NavBackStackEntry) -> VM): Lazy<VM>
Content copied to clipboard
createLazyViewModel
Link copied to clipboard
abstract fun <S : MavericksState, T : Fragment, MavericksView, VM : MavericksViewModel<S>> createLazyViewModel(fragment: T, viewModelProperty: KProperty<*>, viewModelClass: KClass<VM>, keyFactory: () -> String, stateClass: KClass<S>, existingViewModel: Boolean, viewModelProvider: (stateFactory: MavericksStateFactory<VM, S>) -> VM): Lazy<VM>
Content copied to clipboard
Inheritors
DefaultNavigationViewModelDelegateFactory
Link copied to clipboard