package Ġcom . h ana 0 5 3 . micro post Ċ Ċ import Ġandroid . app . Application Ċ import Ġandroid . support . annotation . Visible ForTesting Ċ import Ġcom . github . sal om on br ys . kode in . K ode in Ċ import Ġcom . github . sal om on br ys . kode in . K ode in Aware Ċ import Ġcom . github . sal om on br ys . kode in . android . android Activity Scope Ċ import Ġcom . h ana 0 5 3 . micro post . pages . login . Login Activity Ċ import Ġcom . h ana 0 5 3 . micro post . pages . login . login Module Ċ import Ġcom . h ana 0 5 3 . micro post . pages . main . MainActivity Ċ import Ġcom . h ana 0 5 3 . micro post . pages . main . main Module Ċ import Ġcom . h ana 0 5 3 . micro post . pages . micro post new . Micro post New Activity Ċ import Ġcom . h ana 0 5 3 . micro post . pages . micro post new . micro post New Module Ċ import Ġcom . h ana 0 5 3 . micro post . pages . related user list . Related UserList Activity Ċ import Ġcom . h ana 0 5 3 . micro post . pages . related user list . related UserList Module Ċ import Ġcom . h ana 0 5 3 . micro post . pages . signup . Signup Activity Ċ import Ġcom . h ana 0 5 3 . micro post . pages . signup . signup Module Ċ import Ġcom . h ana 0 5 3 . micro post . pages . top . Top Activity Ċ import Ġcom . h ana 0 5 3 . micro post . pages . top . top Module Ċ import Ġcom . h ana 0 5 3 . micro post . pages . users how . User Show Activity Ċ import Ġcom . h ana 0 5 3 . micro post . pages . users how . user Show Module Ċ Ċ abstract Ġclass ĠBase Application Ġ: ĠApplication (), ĠK ode in Aware Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate () ĊĠĠĠĠĠĠĠ Ġregister Activity Lifecycle Callbacks ( android Activity Scope . lifecycle Manager ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġvar Ġ_ kode in Ġ= ĠK ode in Ġ{ ĊĠĠĠĠĠĠĠ Ġimport ( app Module ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġval Ġk ode in : ĠK ode in ĊĠĠĠĠĠĠĠ Ġget () Ġ= Ġ_ kode in ĊĊĠĠĠ Ġ@ Visible ForTesting ĊĠĠĠ Ġfun Ġset K ode in ( kode in : ĠK ode in ) Ġ{ ĊĠĠĠĠĠĠĠ Ġ_ kode in Ġ= Ġk ode in ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġval Ġoverriding Modules Ġ= Ġmutable Map Of < Class <* >, ĠK ode in . Module >( ĊĠĠĠĠĠĠĠ ĠPair ( Top Activity :: class . java , Ġtop Module ()), ĊĠĠĠĠĠĠĠ ĠPair ( Login Activity :: class . java , Ġlogin Module ()), ĊĠĠĠĠĠĠĠ ĠPair ( MainActivity :: class . java , Ġmain Module ()), ĊĠĠĠĠĠĠĠ ĠPair ( Signup Activity :: class . java , Ġsignup Module ()), ĊĠĠĠĠĠĠĠ ĠPair ( User Show Activity :: class . java , Ġuser Show Module ()), ĊĠĠĠĠĠĠĠ ĠPair ( Micro post New Activity :: class . java , Ġmicro post New Module ()), ĊĠĠĠĠĠĠĠ ĠPair ( Related UserList Activity :: class . java , Ġrelated UserList Module ()) ĊĠĠĠ Ġ) ĊĊĠĠĠ Ġfun Ġget Over riding Module ( clazz : ĠClass <* >) Ġ= Ġoverriding Modules [ clazz ] !! Ċ Ċ } Ċ