package Ġcom . flip per . integration test Ċ Ċ import Ġcom . flip per . core . view . Base Controller Ċ import Ġcom . flip per . core . view . View Inflater Ċ import Ġcom . flip per . integration test . databinding . Controller Counter Binding Ċ import Ġm oxy . k tx . mo xy Presenter Ċ Ċ class ĠCounter Controller Ġ: ĠBaseController < Controller Counter Binding >(), ĊĠĠĠ ĠCounter View Ġ{ ĊĠĠĠ Ġval Ġpresenter Ġby Ġm oxy Presenter Ġ{ ĠCounter Presenter () Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġinitialize View () Ġ{ ĊĠĠĠĠĠĠĠ Ġbinding . increment Button . setOnClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġpresenter . click On Number () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġoverride Ġfun Ġset Number ( number : ĠInt ) Ġ{ ĊĠĠĠĠĠĠĠ Ġbinding . increment Button . text Ġ= Ġ"$ number " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget View Inflater (): ĠView Inflater < Controller Counter Binding > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠController Counter Binding :: inflate ĊĠĠĠ Ġ} Ċ } Ċ