package Ġpl . mar cin str am owski . shopping list Ċ Ċ import Ġcom . squareup . leak can ary . Build Config Ċ import Ġcom . squareup . leak can ary . Leak Can ary Ċ import Ġdagger . android . Android Injector Ċ import Ġpl . mar cin str am owski . shopping list . di . components . D agger App Component Ċ import Ġdagger . android . D agger Application Ċ import Ġdagger . android . support . D agger AppCompatActivity Ċ import Ġpl . mar cin str am owski . shopping list . di . components . App Component Ċ import Ġtim ber . log . Tim ber Ċ Ċ /** Ċ Ġ* ĠClass Ġfor Ġmaintaining Ġglobal ĠShop ping ĠList Ġapplication Ġstate Ċ Ġ*/ Ċ class ĠShop ping List Application Ġ: ĠD agger Application () Ġ{ ĊĊĠĠĠ Ġlateinit Ġvar Ġapp Component : ĠApp Component ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate () ĊĠĠĠĠĠĠĠ Ġif Ġ( Leak Can ary . isIn Analyzer Process ( this )) Ġreturn ĊĠĠĠĠĠĠĠ ĠLe ak Can ary . install ( this ) ĊĠĠĠĠĠĠĠ Ġif Ġ( Build Config . DEBUG ) ĠTim ber . plant ( Tim ber . Debug Tree ()) ĊĊĠĠĠ Ġ} ĊĊĊĊ Ċ // ĠĠĠ Ġoverride Ġfun Ġapplication Injector () Ġ= ĠApp Component . builder (). application ( this ). build () ĊĊĠĠĠ Ġoverride Ġfun Ġapplication Injector () Ġ= ĠD agger App Component . builder (). application ( this ). build () Ċ }