/** Ċ * Ġ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 _ wallet _ impl . presentation . pol kas wap . di Ċ Ċ import Ġandroidx . fragment . app . Fragment Ċ 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 . res our ses . ResourceManager Ċ import Ġjp . co . sor am its u . common . util . Numbers Formatter Ċ 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 . Pol kas wap Interactor Ċ import Ġjp . co . sor am its u . feature _ wallet _ api . domain . interfaces . Wallet Interactor Ċ import Ġjp . co . sor am its u . feature _ wallet _ api . launcher . Wallet Router Ċ import Ġjp . co . sor am its u . feature _ wallet _ impl . presentation . pol kas wap . Pol ka Swap ViewModel Ċ import Ġjp . co . sor am its u . feature _ wallet _ impl . presentation . pol kas wap . swap . Swap ViewModel Ċ Ċ @ Module ( ĊĠĠĠ Ġincludes Ġ= Ġ[ ĊĠĠĠĠĠĠĠ ĠViewModel Module :: class ĊĠĠĠ Ġ] Ċ ) Ċ class ĠPol ka Swap Module Ġ{ ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Into Map ĊĠĠĠ Ġ@ ViewModel Key ( Pol ka Swap ViewModel :: class ) ĊĠĠĠ Ġfun Ġprovide ViewModel ( ĊĠĠĠĠĠĠĠ Ġrouter : ĠWallet Router , ĊĠĠĠĠĠĠĠ Ġpol kas wap Interactor : ĠPol kas wap Interactor , ĊĠĠĠĠĠĠĠ Ġwallet Interactor : ĠWallet Interactor , ĊĠĠĠ Ġ): ĠViewModel Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠPol ka Swap ViewModel ( router , Ġpol kas wap Interactor ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide ViewModel Creator ( ĊĠĠĠĠĠĠĠ Ġfragment : ĠFragment , ĊĠĠĠĠĠĠĠ ĠviewModel Factory : ĠViewModel Provider . Factory ĊĠĠĠ Ġ): ĠPol ka Swap ViewModel Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠViewModel Providers . of ( fragment , ĠviewModel Factory ). get ( Pol ka Swap ViewModel :: class . java ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Into Map ĊĠĠĠ Ġ@ ViewModel Key ( Swap ViewModel :: class ) ĊĠĠĠ Ġfun Ġprovide Swap ViewModel ( ĊĠĠĠĠĠĠĠ Ġrouter : ĠWallet Router , ĊĠĠĠĠĠĠĠ Ġinter actor : ĠWallet Interactor , ĊĠĠĠĠĠĠĠ Ġpol kas wap Interactor : ĠPol kas wap Interactor , ĊĠĠĠĠĠĠĠ Ġnf : ĠNumbers Formatter , ĊĠĠĠĠĠĠĠ Ġrm : ĠResourceManager , ĊĠĠĠ Ġ): ĠViewModel Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠSwap ViewModel ( router , Ġinter actor , Ġpol kas wap Interactor , Ġnf , Ġrm ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Swap ViewModel Creator ( ĊĠĠĠĠĠĠĠ Ġfragment : ĠFragment , ĊĠĠĠĠĠĠĠ ĠviewModel Factory : ĠViewModel Provider . Factory ĊĠĠĠ Ġ): ĠSwap ViewModel Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠViewModel Providers . of ( fragment , ĠviewModel Factory ). get ( Swap ViewModel :: class . java ) ĊĠĠĠ Ġ} Ċ } Ċ