package Ġme . e zz at th ar wat . vac omp uting Ċ Ċ import Ġandroid . app . Application Ċ import Ġandroid . content . Context Ċ import Ġcom . google . android . libraries . places . api . Places Ċ import Ġme . e zz at th ar wat . vac omp uting . di . Component Provider Ċ import Ġme . e zz at th ar wat . vac omp uting . di . application . App Component Ċ import Ġme . e zz at th ar wat . vac omp uting . di . application . App Module Ċ import Ġme . e zz at th ar wat . vac omp uting . di . application . D agger App Component Ċ import Ġtim ber . log . Tim ber Ċ Ċ class ĠV a Comp uting App : ĠApplication (), ĠComponent Provider < App Component > Ġ{ ĊĊĠĠĠ Ġcompanion Ġobject { ĊĠĠĠĠĠĠĠ Ġfun Ġget Component ( context : ĠContext ): ĠApp Component Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġget App ( context ). getComponent () ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġprivate Ġfun Ġget App ( context : ĠContext ): ĠV a Comp uting App Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġcontext . application Context Ġas ĠV a Comp uting App ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġprivate Ġval Ġapp Component : ĠApp Component Ġ= Ġcreate App Component () ĊĊĠĠĠ Ġprivate Ġfun Ġcreate App Component (): ĠApp Component Ġ= ĠD agger App Component . builder () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. app Module ( App Module ( this )) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĊĊĠĠĠ Ġoverride Ġfun ĠonCreate () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate () ĊĠĠĠĠĠĠĠ ĠPl aces . initialize ( this , getString ( R . string . google _ api _ key )) ĊĊĠĠĠĠĠĠĠ Ġapp Component . inject ( this ) ĊĠĠĠĠĠĠĠ Ġif Ġ( Build Config . DEBUG ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠTim ber . plant ( Tim ber . Debug Tree ()) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Component (): ĠApp Component Ġ= Ġapp Component ĊĊ Ċ }