package Ġcom . id an atz . sample Ċ Ċ import Ġandroid . content . Intent Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . widget . Button Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġcom . id an atz . sample . advanced _ example . view . Advanced Java Example Activity Ċ import Ġcom . id an atz . sample . advanced _ example . view . Advanced Kotlin Example Activity Ċ import Ġcom . id an atz . sample . simple _ example . Simple Java Example Activity Ċ import Ġcom . id an atz . one adapter . sample . R Ċ Ċ class ĠMainActivity Ġ: ĠAppCompatActivity () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( R . layout . activity _ main ) ĊĠĠĠĠĠĠĠ ĠfindViewById < Button >( R . id . simple _ java _ activity _ button ). setOnClickListener Ġ{ ĠstartActivity ( Intent ( this @ MainActivity , ĠSimple Java Example Activity :: class . java )) Ġ} ĊĠĠĠĠĠĠĠ ĠfindViewById < Button >( R . id . advanced _ java _ activity _ button ). setOnClickListener Ġ{ ĠstartActivity ( Intent ( this @ MainActivity , ĠAdvanced Java Example Activity :: class . java )) Ġ} ĊĠĠĠĠĠĠĠ ĠfindViewById < Button >( R . id . advanced _ kotlin _ activity _ button ). setOnClickListener Ġ{ ĠstartActivity ( Intent ( this @ MainActivity , ĠAdvanced Kotlin Example Activity :: class . java )) Ġ} ĊĠĠĠ Ġ} Ċ }