package Ġcom . andro . ind ie . school . poke dex . di Ċ Ċ import Ġcom . andro . ind ie . school . poke dex . data . repository . Pokemon Detail Repository Impl Ċ import Ġcom . andro . ind ie . school . poke dex . data . services . Po ke dex Service Ċ import Ġcom . andro . ind ie . school . poke dex . data . source . remote . Pokemon Detail Remote DataSource Ċ import Ġcom . andro . ind ie . school . poke dex . data . source . remote . Pokemon Detail Remote DataSource Impl Ċ import Ġcom . andro . ind ie . school . poke dex . domain . repository . Pokemon Detail Repository Ċ import Ġcom . andro . ind ie . school . poke dex . domain . use case . detail . Get Pokemon Detail UseCase Ċ import Ġcom . andro . ind ie . school . poke dex . mapper . Pokemon Detail Mapper Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġdagger . h ilt . Install In Ċ import Ġdagger . h ilt . android . components . ViewModel Component Ċ import Ġdagger . h ilt . android . scopes . ViewModel Scoped Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġher is ul ist i yan to Ġon Ġ 0 7 / 0 3 / 2 1 . Ċ Ġ* ĠK jo ken K od ding er Ċ Ġ*/ Ċ Ċ @ Module Ċ @ Install In ( ViewModel Component :: class ) Ċ class ĠDetail Module Ġ{ ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ ViewModel Scoped ĊĠĠĠ Ġfun Ġprovide Detail Remote DataSource ( poke dex Service : ĠPo ke dex Service ): ĠPokemon Detail Remote DataSource Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠPokemon Detail Remote DataSource Impl ( poke dex Service ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ ViewModel Scoped ĊĠĠĠ Ġfun Ġprovide Pokemon Detail Mapper (): ĠPokemon Detail Mapper Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠPokemon Detail Mapper () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ ViewModel Scoped ĊĠĠĠ Ġfun Ġprovide Detail Repository ( ĊĠĠĠĠĠĠĠ Ġremote DataSource : ĠPokemon Detail Remote DataSource , ĊĠĠĠĠĠĠĠ Ġdetail Mapper : ĠPokemon Detail Mapper ĊĠĠĠ Ġ): ĠPokemon Detail Repository Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠPokemon Detail Repository Impl ( remote DataSource , Ġdetail Mapper ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ ViewModel Scoped ĊĠĠĠ Ġfun Ġprovide Get Detail UseCase ( detail Repository : ĠPokemon Detail Repository ): ĠGet Pokemon Detail UseCase Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠGet Pokemon Detail UseCase ( detail Repository ) ĊĠĠĠ Ġ} Ċ }