/* Ċ Ġ* ĠCopyright Ġ( c ) Ġ 2 0 1 8 . ĠLorem Ġipsum Ġdolor Ġsit Ġamet , Ġconsectetur Ġadipiscing Ġelit . Ċ Ġ* ĠMor bi Ġnon Ġlorem Ġport t itor Ġneque Ġfe ugiat Ġbland it . ĠUt Ġvitae Ġipsum Ġeget Ġquam Ġlac in ia Ġaccum san . Ċ Ġ* ĠE ti am Ġsed Ġturpis Ġac Ġipsum Ġcon dim ent um Ġf ring illa . ĠMa ec enas Ġmagna . Ċ Ġ* ĠPro in Ġd ap ibus Ġsapi en Ġvel Ġante . ĠAli quam Ġerat Ġvol ut pat . ĠP ellentesque Ġsag itt is Ġlig ula Ġeget Ġmetus . Ċ Ġ* ĠV estibulum Ġcommodo . ĠUt Ġr hon cus Ġgrav ida Ġarcu . Ċ Ġ*/ Ċ Ċ package Ġcom . ke val p ate l 2 1 0 6 . pa stry shop . di Ċ Ċ import Ġandroid . app . Application Ċ import Ġandroid . content . Context Ċ import Ġcom . ke val p ate l 2 1 0 6 . pa stry shop . PS Application Ċ import Ġcom . ke val p ate l 2 1 0 6 . pa stry shop . repository . db . P SD atabase Ċ import Ġcom . ke val p ate l 2 1 0 6 . pa stry shop . utils . Base Application Ċ import Ġcom . ke val p ate l 2 1 0 6 . pa stry shop . utils . Shared Prefs Provider Ċ import Ġdagger . Component Ċ import Ġjavax . inject . Named Ċ import Ġjavax . inject . Singleton Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠK eval Ġon Ġ 0 1 / 0 6 / 1 8 . Ċ Ġ* ĠD agger Ġ[ Component ] Ġthat Ġinject s Ġdependencies Ġprovided Ġby Ġ[ Root Di Module ] Ġinto Ġ[ Base Application ]. Ċ Ġ* Ċ Ġ* Ġ@ author Ġ< a Ġhref =" https :// github . com / ke val p ate l 2 1 0 6 "> ke val p ate l 2 1 0 6 </ a > Ċ Ġ* Ġ@ see ĠRoot Di Module Ċ Ġ*/ Ċ @ Singleton Ċ @ Component ( modules Ġ= Ġ[ Root Di Module :: class ]) Ċ internal Ġinterface ĠRoot Component Ġ{ ĊĊĠĠĠ Ġfun Ġinject ( application : ĠPS Application ) ĊĊĠĠĠ Ġfun ĠgetContext (): ĠContext ĊĊĠĠĠ Ġfun Ġget Application (): ĠApplication ĊĊĠĠĠ Ġfun Ġge Base Application (): ĠBase Application ĊĊĠĠĠ Ġfun Ġget Shared Prefs Provider (): ĠShared Prefs Provider ĊĊĠĠĠ Ġfun Ġget Database (): ĠP SD atabase ĊĊĠĠĠ Ġ@ Named ( Root Di Module . BASE _ URL ) ĊĠĠĠ Ġfun Ġget BaseUrl (): ĠString Ċ } Ċ