i have implemented view pager in my code and i have put on-click listener on view pager but my on-click listener does not working i\'ll post my code
viewpager.s
There is no onClick listener in ViewPager, You can use the same effect by using a Recyclerview instead of a ViewPager is shown as below
Using Recyclerview as horizontal then you can scroll it and get the click events. Please note that use the RecyclerView.Adapter