koin-android-viewmodel / org.koin.android.viewmodel.experimental.builder / org.koin.dsl.context.ModuleDefinition

Extensions for org.koin.dsl.context.ModuleDefinition

viewModel

fun <T : ViewModel> ModuleDefinition.viewModel(name: String = "", override: Boolean = false): Unit

Create a Factory definition for given type T