package Ġcom . vic id roid . am alia . sample . main Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġcom . vic id roid . am alia . ext . presenter Provider Ċ import Ġcom . vic id roid . am alia . ext . view Delegate Provider Ċ import Ġcom . vic id roid . am alia . sample . Base Activity Ċ import Ġcom . vic id roid . am alia . sample . R Ċ Ċ class ĠMainActivity Ġ: ĠBase Activity () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġmain Presenter Ġby Ġpresenter Provider Ġ{ ĊĠĠĠĠĠĠĠ ĠMain Presenter () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġval Ġview Delegate Ġby Ġview Delegate Provider Ġ{ ĊĠĠĠĠĠĠĠ ĠMain View Delegate ( this , Ġwindow . decor View . root View ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( R . layout . activity _ main ) ĊĠĠĠĠĠĠĠ Ġmain Presenter . bind ( view Delegate ) ĊĠĠĠ Ġ} Ċ } Ċ