koin-android-viewmodel / org.koin.android.viewmodel.dsl / org.koin.dsl.ScopeSet

Extensions for org.koin.dsl.ScopeSet

viewModel

fun <T : ViewModel> ScopeSet.viewModel(qualifier: Qualifier? = null, override: Boolean = false, definition: Definition<T>): BeanDefinition<T>

ViewModel DSL Extension Allow to declare a ViewModel - be later inject into Activity/Fragment with dedicated injector