GitHub - josedlujan/Android-Kotlin-Button-OnClick-Toast: Example using Kotlin to click a button and create a Toast
![android studio 3.0 - Button onClick attribute is none if activity written in Kotlin - Stack Overflow android studio 3.0 - Button onClick attribute is none if activity written in Kotlin - Stack Overflow](https://i.stack.imgur.com/6nB3U.png)
android studio 3.0 - Button onClick attribute is none if activity written in Kotlin - Stack Overflow
![I want to make an intent where i click on a button and another activity appears. This button is on a viewpager, and the activity that i want to open is not. I want to make an intent where i click on a button and another activity appears. This button is on a viewpager, and the activity that i want to open is not.](https://i.redd.it/2a09tv9c1vt01.png)
I want to make an intent where i click on a button and another activity appears. This button is on a viewpager, and the activity that i want to open is not.
![How to Use onClick event listener on a Button in Android Studio | Create onclicklistener on Button - YouTube How to Use onClick event listener on a Button in Android Studio | Create onclicklistener on Button - YouTube](https://i.ytimg.com/vi/4Cbk2vK0FLU/maxresdefault.jpg)