Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

android studio go to another activity kotlin

findViewById<Button>(R.id.[[BUTTON ID]]).setOnClickListener{
  val intent = Intent(this, [[NAME OF ACTIVITY TO OPEN]]::class.java)
  startActivity(intent)
}
 
PREVIOUS NEXT
Tagged: #android #studio #activity #kotlin
ADD COMMENT
Topic
Name
4+2 =