commons/ui / com.vmadalin.commons.ui.extensions / androidx.fragment.app.Fragment

Extensions for androidx.fragment.app.Fragment

viewModel

Generic view model provider.

fun <VM : ViewModel> Fragment.viewModel(key: String? = null, factory: () -> VM): VM