package Ġcom . github . gr ub ber . ti ang ou _ kotlin . ui Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġcom . github . gr ub ber . ti ang ou _ kotlin . ui . base . Base Activity Ċ import Ġcom . github . gr ub ber . ti ang ou _ kotlin . ui . top . Top Activity Ċ import Ġcom . squareup . otto . Bus Ċ import Ġcom . squareup . otto . Subscribe Ċ import Ġjavax . inject . Inject Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġgr ub ber Ġon Ġ 2 0 1 7 / 1 / 6 . Ċ Ġ*/ Ċ class ĠHome Activity Ġ: ĠBase Activity () Ġ{ ĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġlateinit Ġvar Ġ_ bus : ĠBus ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĊĠĠĠĠĠĠĠ Ġ_ bus . register ( this ) ĊĠĠĠĠĠĠĠ Ġ_ bus . post ( On Start Top Activity Event ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġinject Members () Ġ{ ĊĠĠĠĠĠĠĠ Ġget Component (). inject ( this ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Subscribe ĊĠĠĠ Ġfun ĠonStart Top Activity ( event : ĠOn Start Top Activity Event ) Ġ{ ĊĠĠĠĠĠĠĠ ĠTop Activity . start ( this ) ĊĠĠĠĠĠĠĠ Ġfinish () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Destroy () Ġ{ ĊĠĠĠĠĠĠĠ Ġ_ bus . unregister ( this ) ĊĠĠĠĠĠĠĠ Ġsuper . on Destroy () ĊĠĠĠ Ġ} Ċ } Ċ Ċ class ĠOn Start Top Activity Event