📜  btn 开始活动 - Kotlin 代码示例

📅  最后修改于: 2022-03-11 14:53:34.690000             🧑  作者: Mango

代码示例1
val botao_registar = findViewById(R.id.btn_registar) as Button
        botao_registar.setOnClickListener{

            val intent = Intent(this, Registo::class.java)
            startActivity(intent)

        }