package Ġcom . line cy . copy Ċ Ċ import Ġandroid . app . Activity Ċ import Ġandroid . app . Application Ċ import Ġandroid . support . v 4 . app . Fragment Ċ import Ġcom . line cy . copy . di . component . D agger App Component Ċ import Ġcom . line cy . copy . di . module . App Module Ċ import Ġdagger . android . Android Injector Ċ import Ġdagger . android . Dispatch ing Android Injector Ċ import Ġdagger . android . Has Activity Injector Ċ import Ġdagger . android . support . Has Support Fragment Injector Ċ import Ġtim ber . log . Tim ber Ċ import Ġjavax . inject . Inject Ċ Ċ /** Ċ Ġ* Ġ@ author Ġby Ġline cy Ċ Ġ*/ Ċ Ċ class ĠCopy Application Ġ: ĠApplication (), ĠHas Activity Injector , ĠHas Support Fragment Injector Ġ{ ĊĊĠ Ġ@ Inject ĊĠ Ġlateinit Ġvar Ġdispatch ing Activity Injector : ĠDispatch ing Android Injector < Activity > ĊĊĠ Ġ@ Inject ĊĠ Ġlateinit Ġvar Ġfragment Injector : ĠDispatch ing Android Injector < Fragment > ĊĊĠ Ġoverride Ġfun Ġsupport Fragment Injector (): ĠAndroid Injector < Fragment > Ġ{ ĊĠĠĠ Ġreturn Ġfragment Injector ĊĠ Ġ} ĊĊĠ Ġoverride Ġfun Ġactivity Injector (): ĠAndroid Injector < Activity > Ġ= Ġdispatch ing Activity Injector ĊĊĠ Ġoverride Ġfun ĠonCreate () Ġ{ ĊĠĠĠ Ġsuper . onCreate () ĊĠĠĠ Ġif Ġ( Build Config . DEBUG ) Ġ{ ĊĠĠĠĠĠ ĠTim ber . plant ( Tim ber . Debug Tree ()) ĊĠĠĠ Ġ} ĊĠĠĠ ĠD agger App Component . builder () ĊĠĠĠĠĠĠĠ Ġ. app Module ( App Module ( this )) ĊĠĠĠĠĠĠĠ Ġ. build () ĊĠĠĠĠĠĠĠ Ġ. inject ( this ) ĊĊĠ Ġ} Ċ Ċ } Ċ