package Ġcom . h awesome . ble connector . view . device Ċ Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġandroid . os . Bundle Ċ import Ġcom . h awesome . ble connector . R Ċ import Ġcom . h awesome . ble connector . kit . Tag Kit Ċ import Ġcom . h awesome . ble connector . model . Tag Ċ import Ġkotlinx . android . synt hetic . main . activity _ confirm .* Ċ Ċ class ĠConfirm Activity Ġ: ĠAppCompatActivity () Ġ{ ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġconst Ġval ĠEXT _ TITLE Ġ= Ġ" title " ĊĠĠĠĠĠĠĠ Ġconst Ġval ĠEXT _ TAGS Ġ= Ġ" tags " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( R . layout . activity _ confirm ) ĊĠĠĠĠĠĠĠ Ġtitle Ġ= Ġintent . getString Extra ( EXT _ TITLE ) ĊĠĠĠĠĠĠĠ Ġval Ġtags Ġ= Ġintent . get Parcelable ArrayList Extra < Tag >( EXT _ TAGS ) Ġ?: ĠlistOf < Tag >() ĊĠĠĠĠĠĠĠ Ġcancel Btn . setOnClickListener Ġ{ Ġfinish () Ġ} ĊĠĠĠĠĠĠĠ Ġconfirm Btn . setOnClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠTag Kit . request Tag Update ( tags ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġfinish () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }