koin-android-viewmodel / org.koin.android.viewmodel.ext.android / android.arch.lifecycle.LifecycleOwner / viewModel

viewModel

inline fun <reified T : ViewModel> LifecycleOwner.viewModel(key: String? = null, name: String? = null, noinline parameters: ParameterDefinition = emptyParameterDefinition()): Lazy<T>

Lazy getByClass a viewModel instance

Parameters

key -

name -

parameters -