package Ġcom . alex v any o . sport s feed . d agger . view model Ċ Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġandroidx . lifecycle . ViewModel Provider Ċ import Ġcom . alex v any o . sport s feed . view model . Feed ViewModel Ċ import Ġcom . alex v any o . sport s feed . view model . Injectable ViewModel Factory Ċ import Ġdagger . Bind s Ċ import Ġdagger . Module Ċ import Ġdagger . mult ib ind ings . Into Map Ċ Ċ /** Ċ Ġ* ĠBy Ġproviding Ġa Ġview Ġmodel Ġfactory , Ġview Ġmodels Ġcan Ġuse Ġconstructor Ġinjection . Ċ Ġ* Ġ@ see Ġ< a Ġhref =" https :// github . com / google samples / android - architecture - components / blob / master / Github Browser Sample / app / src / main / java / com / android / example / github / di / ViewModel Module . kt "> Based Ġon Ġ( Apache Ġlicense )</ a > Ċ Ġ*/ Ċ @ Suppress (" unused ") Ċ @ Module ( includes Ġ= Ġ[ Feed ViewModel Module :: class ]) Ċ abstract Ġclass ĠViewModel Module Ġ{ ĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġ@ Into Map ĊĠĠĠ Ġ@ ViewModel Key ( Feed ViewModel :: class ) ĊĠĠĠ Ġabstract Ġfun Ġbind Feed ViewModel ( feed ViewModel : ĠFeed ViewModel ): ĠViewModel ĊĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġabstract Ġfun Ġbind ViewModel Factory ( factory : ĠInjectable ViewModel Factory ): ĠViewModel Provider . Factory Ċ } Ċ