package Ġcom . ser j lt t . dev fest . weather Ċ Ċ import Ġcom . ser j lt t . dev fest . weather . data . network . Network Module Ċ import Ġcom . ser j lt t . dev fest . weather . di . D agger Injector Ċ import Ġcom . ser j lt t . dev fest . weather . di . Injector Ċ import Ġcom . ser j lt t . dev fest . weather . di . Injector App Ċ import Ġcom . ser j lt t . dev fest . weather . di . Platform Module Ċ import Ġcom . ser j lt t . dev fest . weather . rx . Rx Module Ċ import Ġio . reactivex . android . schedul ers . Android Schedulers Ċ import Ġio . reactivex . schedul ers . Schedulers Ċ import Ġokhttp 3 . Http Url Ċ Ċ /** ĠMain Ġapplication Ġclass , Ġthat Ġconstructs Ġthe Ġ" real " Ġdi Ġcomponent . Ġ Ġ*/ Ċ class ĠWeather App Ġ: ĠInject or App () Ġ{ ĊĠ Ġoverride Ġfun Ġbuild Injector (): ĠInject or Ġ{ ĊĠĠĠ Ġreturn ĠD agger Injector . builder () ĊĠĠĠĠĠĠĠ Ġ. platform Module ( Platform Module ( this )) ĊĠĠĠĠĠĠĠ Ġ. network Module ( Network Module ( REAL _ ENDPOINT )) ĊĠĠĠĠĠĠĠ Ġ. rx Module ( Rx Module ( Schedulers . io (), ĠAndroid Schedulers . main Thread ())) ĊĠĠĠĠĠĠĠ Ġ. build () ĊĠ Ġ} ĊĊĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠ Ġprivate Ġval ĠREAL _ ENDPOINT Ġ= ĠHttp Url . parse (" https :// query . yahoo apis . com /") ĊĠ Ġ} Ċ } Ċ