package Ġcom . dic od ing . favorite . di Ċ Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġandroidx . lifecycle . ViewModel Provider Ċ import Ġcom . dic od ing . favorite . ui . Favorite ViewModel Ċ import Ġdagger . Bind s Ċ import Ġdagger . Module Ċ import Ġdagger . h ilt . Install In Ċ import Ġdagger . h ilt . android . components . Application Component Ċ import Ġdagger . mult ib ind ings . Into Map Ċ Ċ @ Module Ċ @ Install In ( Application Component :: class ) Ċ abstract Ġclass ĠViewModel Module Ġ{ ĊĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġinternal Ġabstract Ġfun Ġbind ViewModel Factory ( factory : ĠViewModel Factory ): ĠViewModel Provider . Factory ĊĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġ@ Into Map ĊĠĠĠ Ġ@ ViewModel Key ( Favorite ViewModel :: class ) ĊĠĠĠ Ġinternal Ġabstract Ġfun Ġfavorite ViewModel ( viewModel : ĠF avorite ViewModel ): ĠViewModel Ċ } Ċ