I have used ViewPager in my android app to display images in my MainActivity.Know I have add a Adapter by extending PagerAdapter but Know I want to know How can i get Id of a Particular Item when it clicked?
I want to start a New Intent when a New Image is Clicked on ViewPager
posted 2 years ago
You would call setOnPageChangeListener either on the ViewPager or the TabPageIndicator:
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads