package Ġcn . edu . nc u . activities and components Ċ Ċ import Ġandroid . content . Intent Ċ import Ġandroid . os . Bundle Ċ import Ġkotlinx . android . synt hetic . main . activity _ first .* Ċ import Ġkotlinx . android . synt hetic . main . activity _ first . exit Ċ import Ġkotlinx . android . synt hetic . main . activity _ first . jump To First Ċ import Ġkotlinx . android . synt hetic . main . activity _ first . jump To Main Ċ import Ġkotlinx . android . synt hetic . main . activity _ first . jump To Second Ċ import Ġkotlinx . android . synt hetic . main . activity _ main .* Ċ Ċ class ĠFirst Activity Ġ: ĠBase Activity () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( R . layout . activity _ first ) Ċ // ĠĠĠĠĠĠĠ Ġreturn TO Main . setOnClickListener Ġ{ Ġfinish () Ġ} ĊĠĠĠĠĠĠĠ Ġjump To Main . setOnClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠstartActivity ( Intent ( this , ĠMainActivity Kotlin :: class . java )) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġjump To First . setOnClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠstartActivity ( Intent ( this , ĠFirst Activity :: class . java )) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġjump To Second . setOnClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠstartActivity ( Intent ( this , ĠSecond Activity :: class . java )) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġexit . setOnClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠActivity Collector . finish All () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }