package Ġcom . ray w ender lich . android . bus so . di Ċ Ċ import Ġandroid . app . Activity Ċ import Ġandroid . content . Context Ċ import Ġandroid . location . Location Manager Ċ import Ġcom . ray w ender lich . android . bus so . network . Bus so Endpoint Ċ import Ġcom . ray w ender lich . android . bus so . permission . Geo Location Permission Checker Impl Ċ import Ġcom . ray w ender lich . android . bus so . ui . view . bus arrival . Bus Arrival Presenter Ċ import Ġcom . ray w ender lich . android . bus so . ui . view . bus arrival . Bus Arrival Presenter Impl Ċ import Ġcom . ray w ender lich . android . bus so . ui . view . bus arrival . Bus Arrival View Binder Ċ import Ġcom . ray w ender lich . android . bus so . ui . view . bus arrival . Bus Arrival View Binder Impl Ċ import Ġcom . ray w ender lich . android . bus so . ui . view . bus stop . Bus Stop List Presenter Ċ import Ġcom . ray w ender lich . android . bus so . ui . view . bus stop . Bus Stop List Presenter Impl Ċ import Ġcom . ray w ender lich . android . bus so . ui . view . bus stop . Bus Stop ListView Binder Ċ import Ġcom . ray w ender lich . android . bus so . ui . view . bus stop . Bus Stop ListView Binder Impl Ċ import Ġcom . ray w ender lich . android . bus so . ui . view . main . Main Presenter Ċ import Ġcom . ray w ender lich . android . bus so . ui . view . main . Main Presenter Impl Ċ import Ġcom . ray w ender lich . android . bus so . ui . view . splash . Splash Presenter Ċ import Ġcom . ray w ender lich . android . bus so . ui . view . splash . Splash Presenter Impl Ċ import Ġcom . ray w ender lich . android . bus so . ui . view . splash . Splash View Binder Ċ import Ġcom . ray w ender lich . android . bus so . ui . view . splash . Splash View Binder Impl Ċ import Ġcom . ray w ender lich . android . location . api . model . Location Event Ċ import Ġcom . ray w ender lich . android . location . rx . provide Rx Location Observable Ċ import Ġcom . ray w ender lich . android . ui . navigation . Navigator Ċ import Ġcom . ray w ender lich . android . ui . navigation . Navigator Impl Ċ import Ġdagger . Bind s Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġio . reactivex . Observable Ċ Ċ // Ġ 1 Ċ @ Module ( includes Ġ= Ġ[ App Module . Bindings :: class ]) Ċ class ĠApp Module Ġ{ ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Location Observable ( activity : ĠActivity ): ĠObservable < Location Event > Ġ{ ĊĠĠĠĠĠĠĠ Ġ// Ġ 3 ĊĠĠĠĠĠĠĠ Ġval Ġlocation Manager Ġ= Ġactivity . getSystem Service ( Context . LOCATION _ SERVICE ) Ġas ĠLocation Manager ĊĠĠĠĠĠĠĠ Ġ// Ġ 4 ĊĠĠĠĠĠĠĠ Ġval Ġgeo Location Permission Checker Ġ= ĠGeo Location Permission Checker Impl ( activity ) ĊĠĠĠĠĠĠĠ Ġ// Ġ 5 ĊĠĠĠĠĠĠĠ Ġreturn Ġprovide Rx Location Observable ( location Manager , Ġgeo Location Permission Checker ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Navigator ( activity : ĠActivity ): ĠNavigator Ġ= ĠNavigator Impl ( activity ) ĊĊĠĠĠ Ġ// Ġ 2 ĊĠĠĠ Ġ@ Module ĊĠĠĠ Ġinterface ĠBind ings Ġ{ ĊĠĠĠĠĠĠĠ Ġ// Ġ 3 ĊĠĠĠĠĠĠĠ Ġ@ Bind s ĊĠĠĠĠĠĠĠ Ġfun Ġbind Splash Presenter ( impl : ĠSpl ash Presenter Impl ): ĠSpl ash Presenter ĊĠĠĠĠĠĠĠ Ġ// Ġ 4 ĊĠĠĠĠĠĠĠ Ġ@ Bind s ĊĠĠĠĠĠĠĠ Ġfun Ġbind Splash View Binder ( impl : ĠSpl ash View Binder Impl ): ĠSpl ash View Binder ĊĊĠĠĠĠĠĠĠ Ġ@ Bind s ĊĠĠĠĠĠĠĠ Ġfun Ġbind Main Presenter ( impl : ĠMain Presenter Impl ): ĠMain Presenter ĊĊĠĠĠĠĠĠĠ Ġ@ Bind s ĊĠĠĠĠĠĠĠ Ġfun Ġbind Bus Stop ListView Binder ( impl : ĠBus Stop ListView Binder Impl ): ĠBus Stop ListView Binder ĊĊĠĠĠĠĠĠĠ Ġ@ Bind s ĊĠĠĠĠĠĠĠ Ġfun Ġbind Bus Stop List Presenter ( impl : ĠBus Stop List Presenter Impl ): ĠBus Stop List Presenter ĊĊĠĠĠĠĠĠĠ Ġ@ Bind s ĊĠĠĠĠĠĠĠ Ġfun Ġbind Bus Stop ListView Binder Listener ( impl : ĠBus Stop List Presenter Impl ): ĠBus Stop ListView Binder . Bus Stop ItemSelected Listener ĊĊĠĠĠĠĠĠĠ Ġ@ Bind s ĊĠĠĠĠĠĠĠ Ġfun Ġbind Bus Arrival Presenter ( impl : ĠBus Arrival Presenter Impl ): ĠBus Arrival Presenter ĊĊĠĠĠĠĠĠĠ Ġ@ Bind s ĊĠĠĠĠĠĠĠ Ġfun Ġbind Bus Arrival View Binder ( impl : ĠBus Arrival View Binder Impl ): ĠBus Arrival View Binder ĊĠĠĠ Ġ} Ċ } Ċ