koin-android-viewmodel / org.koin.android.viewmodel.ext.koin / org.koin.core.scope.Scope / getViewModel

getViewModel

inline fun <reified T : ViewModel> Scope.getViewModel(lifecycleOwner: LifecycleOwner, qualifier: Qualifier? = null, noinline parameters: ParametersDefinition? = null): T

Get a viewModel instance

Parameters

lifecycleOwner -

parameters -