package Ġcom . example . android . popular libraries . di Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . annotation . Layout Res Ċ import Ġdagger . android . Android Injection Ċ import Ġdagger . android . Android Injector Ċ import Ġdagger . android . Dispatch ing Android Injector Ċ import Ġdagger . android . Has Android Injector Ċ import Ġm oxy . M vp AppCompatActivity Ċ import Ġjavax . inject . Inject Ċ Ċ abstract Ġclass ĠBase D agger Activity (@ Layout Res Ġcontent Layout Id : ĠInt Ġ= Ġ 0 ) Ġ: ĊĠĠĠ ĠM vp AppCompatActivity ( content Layout Id ), ĊĠĠĠ ĠHas Android Injector Ġ{ ĊĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġlateinit Ġvar Ġandroid Injector : ĠDispatch ing Android Injector < Any > ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ ĠAndroid Injection . inject ( this ) ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġandroid Injector (): ĠAndroid Injector < Any > Ġ= Ġandroid Injector Ċ }