package Ġid . kotlin . basic mvp . detail Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġid . kotlin . basic mvp . R Ċ import Ġid . kotlin . basic mvp . home . Home Model Ċ import Ġkotlinx . android . synt hetic . main . activity _ detail .* Ċ Ċ class ĠDetail Activity Ġ: ĠAppCompatActivity (), ĠDetail View Ġ{ ĊĊĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠ ĠsetContentView ( R . layout . activity _ detail ) ĊĊĠĠĠ Ġval Ġhome Model Ġ= Ġintent . get Parcelable Extra < Home Model >(" HOME ") ĊĠĠĠ Ġval Ġpresenter Ġ= ĠDetail Presenter ( this ) ĊĠĠĠ Ġpresenter . show Model ( home Model ) ĊĠ Ġ} ĊĊĠ Ġoverride Ġfun Ġshow Model ( model : ĠDetail Model ) Ġ{ ĊĠĠĠ Ġtv _ detail . text Ġ= Ġmodel . description ĊĠ Ġ} Ċ }