/** Ċ * ĠCopyright ĠS or am its u ĠCo ., ĠLtd . ĠAll ĠRights ĠReserved . Ċ * ĠSPDX - License - Identifier : ĠGPL - 3 . 0 Ċ */ Ċ Ċ package Ġjp . co . sor am its u . feature _ main _ impl . presentation Ċ Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġandroidx . lifecycle . ViewModel Provider Ċ import Ġandroidx . lifecycle . ViewModel Providers Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġdagger . mult ib ind ings . Into Map Ċ import Ġjp . co . sor am its u . common . data . network . substr ate . runtime . Runtime Manager Ċ import Ġjp . co . sor am its u . common . domain . Health Checker Ċ import Ġjp . co . sor am its u . core _ di . holder . view model . ViewModel Key Ċ import Ġjp . co . sor am its u . core _ di . holder . view model . ViewModel Module Ċ import Ġjp . co . sor am its u . feature _ wallet _ api . domain . interfaces . Wallet Interactor Ċ Ċ @ Module ( ĊĠĠĠ Ġincludes Ġ= Ġ[ ĊĠĠĠĠĠĠĠ ĠViewModel Module :: class ĊĠĠĠ Ġ] Ċ ) Ċ class ĠMain Module Ġ{ ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Into Map ĊĠĠĠ Ġ@ ViewModel Key ( Main ViewModel :: class ) ĊĠĠĠ Ġfun Ġprovide ViewModel ( ĊĠĠĠĠĠĠĠ Ġhealth Checker : ĠHealth Checker , ĊĠĠĠĠĠĠĠ Ġwallet Interactor : ĠWallet Interactor , ĊĠĠĠĠĠĠĠ Ġruntime Manager : ĠRuntime Manager , ĊĠĠĠ Ġ): ĠViewModel Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠMain ViewModel ( health Checker , Ġwallet Interactor , Ġruntime Manager ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide ViewModel Creator ( activity : ĠAppCompatActivity , ĠviewModel Factory : ĠViewModel Provider . Factory ): ĠMain ViewModel Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠViewModel Providers . of ( activity , ĠviewModel Factory ). get ( Main ViewModel :: class . java ) ĊĠĠĠ Ġ} Ċ } Ċ