package Ġcom . ad ject iv emon k 2 . pixels Ċ Ċ import Ġandroid . app . Activity Ċ import Ġandroid . app . Application Ċ import Ġcom . ad ject iv emon k 2 . pixels . di . App Component Ċ import Ġcom . ad ject iv emon k 2 . pixels . logger . Logger Initializer Ċ import Ġlog cat . Log cat Logger Ċ import Ġlog cat . log cat Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠPixel Application Ġ: ĠApplication () Ġ{ ĊĊĠ Ġval Ġapp Component Ġby Ġlazy ( Lazy Thread Safety Mode . NONE ) Ġ{ ĊĠĠĠ ĠApp Component . builder (). application ( this ). build () ĊĠ Ġ} ĊĊĠ Ġ@ Inject Ġinternal Ġlateinit Ġvar Ġlogger : ĠLog cat Logger ĊĊĠ Ġoverride Ġfun ĠonCreate () Ġ{ ĊĠĠĠ Ġapp Component . inject In To ( this ) ĊĠĠĠ Ġsuper . onCreate () ĊĠĠĠ ĠLogger Initializer . install On Debug gable App ( this , Ġlogger ) ĊĊĠĠĠ Ġlog cat Ġ{ Ġ" onCreate " Ġ} ĊĠ Ġ} Ċ } Ċ Ċ val ĠActivity . app Component : ĠApp Component ĊĠ Ġget () Ġ{ ĊĠĠĠ Ġreturn Ġ( application Ġas ĠPixel Application ). app Component ĊĠ Ġ} Ċ