/* Ċ Ġ* ĠCopyright Ġ( c ) Ġ 2 0 1 9 ĠD ere k ĠE ll is . ĠSubject Ġto Ġthe ĠMIT Ġlicense . Ċ Ġ*/ Ċ Ċ package Ġca . ll am ab age l . transp o . di Ċ Ċ import Ġandroid . content . Context Ċ import Ġca . ll am ab age l . transp o . Tr ansp o Application Ċ import Ġca . ll am ab age l . transp o . home . ui . Home ViewModel Ċ import Ġca . ll am ab age l . transp o . map . ui . Map ViewModel Ċ import Ġca . ll am ab age l . transp o . search . ui . Search ViewModel Ċ import Ġca . ll am ab age l . transp o . settings . data . AppSettings Ċ import Ġca . ll am ab age l . transp o . tri ps . ui . Stop ViewModel Ċ import Ġca . ll am ab age l . transp o . tri ps . ui . Trip Details ViewModel Ċ import Ġca . ll am ab age l . transp o . tri ps . ui . Tri ps Map ViewModel Ċ import Ġca . ll am ab age l . transp o . tri ps . ui . Tri ps ViewModel Ċ import Ġdagger . Bind s Instance Ċ import Ġdagger . Component Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Component ( ĊĠĠĠ Ġmodules Ġ= Ġ[ ĊĠĠĠĠĠĠĠ ĠCore Module :: class , ĊĠĠĠĠĠĠĠ ĠData Module :: class , ĊĠĠĠĠĠĠĠ ĠSharedPreferences Module :: class , ĊĠĠĠĠĠĠĠ ĠTrans it Database Module :: class , ĊĠĠĠĠĠĠĠ ĠWorker Module :: class , ĊĠĠĠĠĠĠĠ ĠAss isted Worker Inject Module :: class ĊĠĠĠ Ġ] Ċ ) Ċ @ Singleton Ċ interface ĠCore Component Ġ{ ĊĊĠĠĠ Ġ@ Component . Builder ĊĠĠĠ Ġinterface ĠBuilder Ġ{ ĊĠĠĠĠĠĠĠ Ġ@ Bind s Instance ĊĠĠĠĠĠĠĠ Ġfun Ġapplication Context ( application Context : ĠContext ): ĠBuilder ĊĊĠĠĠĠĠĠĠ Ġfun Ġbuild (): ĠCore Component ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġfactory (): ĠInjection Worker Factory ĊĊĠĠĠ Ġfun Ġhome ViewModel Factory (): ĠViewModel Factory < Home ViewModel > ĊĠĠĠ Ġfun Ġtri ps ViewModel Factory (): ĠViewModel Factory < Tri ps ViewModel > ĊĠĠĠ Ġfun Ġstop ViewModel Factory (): ĠViewModel Factory < Stop ViewModel > ĊĠĠĠ Ġfun Ġtri ps Map ViewModel Factory (): ĠViewModel Factory < Tri ps Map ViewModel > ĊĠĠĠ Ġfun Ġtrip Details ViewModel Factory (): ĠViewModel Factory < Trip Details ViewModel > ĊĠĠĠ Ġfun Ġsearch ViewModel Factory (): ĠViewModel Factory < Search ViewModel > ĊĠĠĠ Ġfun Ġmap ViewModel Factory (): ĠViewModel Factory < Map ViewModel > ĊĊĠĠĠ Ġfun Ġapp Settings (): ĠApp Settings ĊĊĠĠĠ Ġfun Ġinject ( application : ĠTr ansp o Application ) Ċ }