package Ġio . github . ath or fe o . architecture . di . module . view model Ċ Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġandroidx . lifecycle . ViewModel Provider Ċ import Ġdagger . Bind s Ċ import Ġdagger . Module Ċ import Ġdagger . mult ib ind ings . Into Map Ċ import Ġio . github . ath or fe o . architecture . di . annotation . ViewModel Key Ċ import Ġio . github . ath or fe o . architecture . ui . dashboard . Dashboard ViewModel Ċ import Ġio . github . ath or fe o . architecture . view model . App ViewModel Factory Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Module Ċ abstract Ġclass ĠViewModel Module Ġ{ ĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġabstract Ġfun Ġbind ViewModel Factory ( factory : ĠApp ViewModel Factory ): ĠViewModel Provider . Factory ĊĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġ@ Into Map ĊĠĠĠ Ġ@ ViewModel Key ( Dashboard ViewModel :: class ) ĊĠĠĠ Ġabstract Ġfun Ġdashboard ViewModel ( viewModel : ĠDashboard ViewModel ): ĠViewModel Ċ }