Answers for "kotlin button pressed property"

1

btn click kotlin

val button = findViewById<Button>(R.id.Button)
button.setOnClickListener {

}
Posted by: Guest on November-04-2021
0

button kotlin

button1.setOnClickListener {
    // Handler code here.
    val intent = Intent(context, DestActivity::class.Java)
    startActivity(intent);
   }
Posted by: Guest on June-04-2020

Browse Popular Code Answers by Language