package Ġcom . ser j lt t . dev fest . weather . di Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . support . annotation . Call Super Ċ import Ġandroid . support . v 7 . app . AppCompatActivity Ċ Ċ /** ĠBase Ġcontract Ġfor Ġactivities Ġthat Ġconsume Ġthe Ġmain Ġdi Ġcomponent . Ġ*/ Ċ abstract Ġclass ĠInject or Activity Ġ: ĠAppCompatActivity () Ġ{ ĊĠ Ġ@ Call Super Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠ Ġval Ġinjector Ġ= ĠInject or App [ this ]. injector () ĊĠĠĠ Ġon Inject ( injector ) ĊĠ Ġ} ĊĊĠ Ġ/** ĠCalled Ġwhen Ġthe Ġactivity Ġhas Ġobtained Ġthe Ġinjector . Ġ Ġ*/ ĊĠ Ġprotected Ġabstract Ġfun Ġon Inject ( injector : ĠInject or ) Ċ } Ċ