Check out example codes for "kotlin boton que te diriga a otra actividad". It will help you in understanding the concepts better.

Code Example 1

button1.setOnClickListener {
    // Handler code here.
    val intent = Intent(context, DestActivity::class.Java)
    startActivity(intent);
   }

Learn ReactJs, React Native from akashmittal.com