package Ġcom . d roid con . clean repository . kx Ċ Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġandroidx . lifecycle . ViewModel Provider Ċ import Ġandroidx . lifecycle . ViewModel Providers Ċ Ċ inline Ġfun Ġ< re ified ĠT Ġ: ĠViewModel > ĠFragment . viewModel ( factory : ĠViewModel Provider . Factory ): ĠT Ġ{ ĊĠĠĠ Ġreturn ĠViewModel Providers . of ( this , Ġfactory )[ T :: class . java ] Ċ }