package Ġonline . lit ter ae . family organ izer . implementation . planner Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġcom . google . android . material . bottomnavigation . Bottom Navigation View Ċ import Ġonline . lit ter ae . family organ izer . application . Main Application Ċ import Ġonline . lit ter ae . family organ izer . R Ċ import Ġonline . lit ter ae . family organ izer . abstract s . view . Page Activity Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠPl anner Activity Ġ: ĠPage Activity (), ĠPl anner Contract . View Ġ{ ĊĠĠĠ Ġ@ Inject Ġlateinit Ġvar Ġpresenter : ĠPl anner Contract . Presenter ĊĊĠĠĠ Ġoverride Ġfun Ġinit ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ ĠsetContentView ( R . layout . activity _ planner ) ĊĠĠĠĠĠĠĠ Ġset Bottom Menu () ĊĠĠĠĠĠĠĠ ĠMain Application . create Page Component (). inject ( this ) ĊĠĠĠĠĠĠĠ Ġpresenter . attach ( this ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Destroy () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on Destroy () ĊĠĠĠĠĠĠĠ Ġpresenter . detach () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġset SelectedItem ( bottom Menu : ĠBottom Navigation View ) Ġ{ ĊĠĠĠĠĠĠĠ Ġbottom Menu . selected ItemId Ġ= ĠR . id . page _ planner ĊĠĠĠ Ġ} Ċ }