package Ġsample . king ja . loads ir Ċ Ċ import Ġandroid . content . Intent Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . widget . Button Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġkotlinx . android . synt hetic . main . activity _ main .* Ċ import Ġsample . king ja . loads ir . target .* Ċ Ċ /** Ċ Ġ* Ġ@ author Ġd eng da i Ċ Ġ* Ġ@ date Ġ 2 0 2 0 / 1 / 1 0 . Ċ Ġ* ĠGitHub ï¼ļ Ċ Ġ* Ġemail ï¼ļ 2 9 1 9 9 6 3 0 7 @ qq . com Ċ Ġ* Ġdescription ï¼ļ Ċ Ġ*/ Ċ class ĠMainActivity Ġ: ĠAppCompatActivity () Ġ{ ĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( R . layout . activity _ main ) ĊĠĠĠĠĠĠĠ Ġin Activity . setOnClickListener Ġ{ ĠstartActivity ( Intent ( this , ĠNormal Activity :: class . java )) Ġ} ĊĠĠĠĠĠĠĠ Ġshow Placeholder . setOnClickListener Ġ{ ĠstartActivity ( Intent ( this , ĠPlace holder Activity :: class . java )) Ġ} ĊĠĠĠĠĠĠĠ Ġin Activity With Convert or . setOnClickListener Ġ{ ĠstartActivity ( Intent ( this , ĠConvert or Activity :: class . java )) Ġ} ĊĠĠĠĠĠĠĠ Ġin Fragment . setOnClickListener Ġ{ ĠstartActivity ( Intent ( this , ĠFragment Single Activity :: class . java )) Ġ} ĊĠĠĠĠĠĠĠ Ġin Fragment M util . setOnClickListener Ġ{ ĠstartActivity ( Intent ( this , ĠMulti Fragment Activity :: class . java )) Ġ} ĊĠĠĠĠĠĠĠ Ġin Fragment View S ir Pager . setOnClickListener Ġ{ ĠstartActivity ( Intent ( this , ĠMulti Fragment With ViewPager Activity :: class . java )) Ġ} ĊĠĠĠĠĠĠĠ Ġin View . setOnClickListener Ġ{ ĠstartActivity ( Intent ( this , ĠView Target Activity :: class . java )) Ġ} ĊĠĠĠĠĠĠĠ Ġdefault Callback . setOnClickListener Ġ{ ĠstartActivity ( Intent ( this , ĠDefault Callback Activity :: class . java )) Ġ} ĊĠĠĠĠĠĠĠ Ġanim at Callback . setOnClickListener Ġ{ ĠstartActivity ( Intent ( this , ĠAn imate Activity :: class . java )) Ġ} ĊĠĠĠĠĠĠĠ Ġkeep Title In Fragment . setOnClickListener Ġ{ ĠstartActivity ( Intent ( this , ĠKeep Title Fragment Activity :: class . java )) Ġ} ĊĠĠĠĠĠĠĠ Ġbest Pract ices . setOnClickListener Ġ{ ĠstartActivity ( Intent ( this , ĠBest Pract ices Activity :: class . java )) Ġ} ĊĠĠĠĠĠĠĠ Ġkeep Title In Activity . setOnClickListener Ġ{ ĠstartActivity ( Intent ( this , ĠKeep Title Activity :: class . java )) Ġ} ĊĠĠĠ Ġ} Ċ }