package Ġcom . ky l ent t . medi ap layer . data . repository Ċ Ċ import Ġandroid . content . Context Ċ import Ġcom . ky l ent t . medi ap layer . core . coroutines . App Scope Ċ import Ġcom . ky l ent t . medi ap layer . data . source . local . Media Store Source Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġdagger . h ilt . Install In Ċ import Ġdagger . h ilt . android . qual ifiers . ApplicationContext Ċ import Ġdagger . h ilt . components . Singleton Component Ċ import Ġjavax . inject . Singleton Ċ Ċ /** Ċ Ġ* ĠH ilt ĠModule Ġproviding ĠRe positories Ċ Ġ* Ġ@ author ĠK yl ent t Ċ Ġ* Ġ@ since Ġ 2 0 2 2 / 0 4 / 3 0 Ċ Ġ* Ġ@ see Ġ[ Proto Repository Impl ] Ċ Ġ* Ġ@ see Ġ[ Media Repository Impl ] Ċ Ġ*/ Ċ Ċ @ Module Ċ @ Install In ( Singleton Component :: class ) Ċ object ĠRepo Module Ġ{ ĊĊĠ Ġ@ Provides ĊĠ Ġ@ Singleton ĊĠ Ġfun Ġprovide Proto Repository ( ĊĠĠĠ Ġ@ ApplicationContext Ġcontext : ĠContext , ĊĠĠĠ Ġcoroutine Scope : ĠApp Scope ĊĠ Ġ): ĠProto Repository Ġ= ĠProto Repository Impl ( context , Ġcoroutine Scope ) ĊĊĠ Ġ@ Provides ĊĠ Ġ@ Singleton ĊĠ Ġfun Ġprovide Media Repository ( ĊĠĠĠ Ġ@ ApplicationContext Ġcontext : ĠContext , ĊĠĠĠ Ġcoroutine Scope : ĠApp Scope , ĊĠĠĠ Ġmedia Store Source : ĠMedia Store Source ĊĠ Ġ): ĠMedia Repository Ġ= ĠMedia Repository Impl ( context , Ġmedia Store Source ) Ċ } Ċ