SyntaxFix
Write A Post
Hire A Developer
Questions
You can use setOnClickListener like this in Kotlin
button.setOnClickListener(View.OnClickListener { //code })