package Ġcom . eeb ros . d agg ert utorial . base Ċ Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġdagger . android . Android Injector Ċ import Ġdagger . android . D agger Application Ċ import Ġdagger . android . Dispatch ing Android Injector Ċ import Ġdagger . android . support . Has Support Fragment Injector Ċ import Ġio . reactivex . plugins . Rx Java Plugins Ċ import Ġjavax . inject . Inject Ċ import Ġcom . eeb ros . d agg ert utorial . di . D agger App Component Ċ Ċ class ĠBase Application Ġ: ĠD agger Application (), ĠHas Support Fragment Injector Ġ{ ĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġlateinit Ġvar Ġm Fragment Injector : ĠDispatch ing Android Injector < Fragment > ĊĊĠĠĠ Ġoverride Ġfun Ġsupport Fragment Injector (): ĠAndroid Injector < Fragment > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġm Fragment Injector ĊĠĠĠ Ġ} ĊĠĠĠ Ġoverride Ġfun ĠonCreate () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate () ĊĠĠĠĠĠĠĠ ĠRx Java Plugins . set ErrorHandler Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġit . printStackTrace () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġapplication Injector (): ĠAndroid Injector < out ĠD agger Application > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠD agger App Component . builder (). application ( this ). build () ĊĠĠĠ Ġ} Ċ }