![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.
![java - Can I use only 1 call intent (onclick) for all the buttons in xml - Android? - Stack Overflow java - Can I use only 1 call intent (onclick) for all the buttons in xml - Android? - Stack Overflow](https://i.stack.imgur.com/cXY2M.png)
java - Can I use only 1 call intent (onclick) for all the buttons in xml - Android? - Stack Overflow
![Android Switch Activity on button click How to Switch between Activities in Android Studio - StarTech City Android Switch Activity on button click How to Switch between Activities in Android Studio - StarTech City](https://i0.wp.com/startechcity29.com/wp-content/uploads/2022/03/Screenshot-437.png?ssl=1)
Android Switch Activity on button click How to Switch between Activities in Android Studio - StarTech City
![Testing Intents on Android: Like Stabbing Yourself in the Eye With A Blunt Implement – Accidentally in Code Testing Intents on Android: Like Stabbing Yourself in the Eye With A Blunt Implement – Accidentally in Code](https://i0.wp.com/www.cate.blog/wp-content/uploads/2016/04/Screen-Shot-2016-04-25-at-10.38.30-AM-1024x575.png?resize=580%2C326)