koin-android-viewmodel / org.koin.android.viewmodel.ext.android / android.support.v4.app.Fragment / getSharedViewModel

getSharedViewModel

inline fun <reified T : ViewModel> Fragment.getSharedViewModel(qualifier: Qualifier? = null, noinline from: ViewModelStoreOwnerDefinition = { activity as ViewModelStoreOwner }, noinline parameters: ParametersDefinition? = null): T

Get a shared viewModel instance from underlying Activity

Parameters

qualifier -

scope -

from -

parameters -