package Ġorg . sky f aced . w opi . di . modules Ċ Ċ 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 Ċ import Ġkotlinx . coroutines . Coroutine Dispatcher Ċ import Ġorg . sky f aced . w opi . database . dao . Dashboard Dao Ċ import Ġorg . sky f aced . w opi . network . Meta Weather Api Ċ import Ġorg . sky f aced . w opi . repository . das board . Dashboard Repository Ċ import Ġorg . sky f aced . w opi . repository . das board . Dashboard Repository Impl Ċ import Ġorg . sky f aced . w opi . repository . detail . Detail Repository Impl Ċ import Ġorg . sky f aced . w opi . repository . search . Search Repository Ċ import Ġorg . sky f aced . w opi . repository . search . Search Repository Impl Ċ Ċ @ Module Ċ @ Install In ( ViewModel Component :: class ) Ċ object ĠRepository Module Ġ{ ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ ViewModel Scoped ĊĠĠĠ Ġfun Ġsearch Repository ( meta Weather Api : ĠMeta Weather Api ): ĠSearch Repository Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠSearch Repository Impl ( meta Weather Api ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ ViewModel Scoped ĊĠĠĠ Ġfun Ġdetail Repository ( ĊĠĠĠĠĠĠĠ Ġmeta Weather Api : ĠMeta Weather Api , ĊĠĠĠĠĠĠĠ Ġdashboard Dao : ĠDashboard Dao , ĊĠĠĠ Ġ): ĠDetail Repository Impl Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠDetail Repository Impl ( meta Weather Api , Ġdashboard Dao ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ ViewModel Scoped ĊĠĠĠ Ġfun Ġdashboard Repository ( ĊĠĠĠĠĠĠĠ Ġdashboard Dao : ĠDashboard Dao , ĊĠĠĠĠĠĠĠ Ġcoroutine Dispatcher : ĠCor outine Dispatcher , ĊĠĠĠ Ġ): ĠDashboard Repository Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠDashboard Repository Impl ( dashboard Dao , Ġcoroutine Dispatcher ) ĊĠĠĠ Ġ} Ċ }