package Ġcom . ner dsc or ner . mvp lib . test app . events . ui . activities Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġcom . ner dsc or ner . mvp lib . events . activity . Base Activity Ċ import Ġcom . ner dsc or ner . mvp lib . events . config . annotations . Register At Ċ import Ġcom . ner dsc or ner . mvp lib . events . config . annotations . Unregister At Ċ import Ġcom . ner dsc or ner . mvp lib . test app . R Ċ import Ġcom . ner dsc or ner . mvp lib . test app . events . ui . mvp . model . Inheritance Main Model Ċ import Ġcom . ner dsc or ner . mvp lib . test app . events . ui . mvp . presenter . Inheritance Main Presenter Ċ import Ġcom . ner dsc or ner . mvp lib . test app . events . ui . mvp . view . Inheritance Main View Ċ Ċ class ĠInherit ance Events MainActivity Ġ: ĠBase Activity < Inheritance Main Presenter >( ĊĠĠĠ Ġregister At Ġ= ĠRegister At . ON _ START , ĊĠĠĠ Ġunregister At Ġ= ĠUn register At . ON _ STOP Ċ ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( R . layout . activity _ mvp ) ĊĊĠĠĠĠĠĠĠ Ġpresenter Ġ= ĠInherit ance Main Presenter ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠInherit ance Main View ( this ), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠInherit ance Main Model () ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ } Ċ