I made a little app to control a sticker album, it has 3 tabs and a FragmentPagerAdapter and works perflectly, but I want quit the swip effect, I only want that it works clicking on tabs.
Asked
Active
Viewed 53 times
0
-
Try this solution: https://stackoverflow.com/questions/9650265/how-do-disable-paging-by-swiping-with-finger-in-viewpager-but-still-be-able-to-s – Alirio Mendes Feb 07 '18 at 22:49
-
I have a FragmentPagerAdapter. – Miguel Angel Castañeda Feb 07 '18 at 23:01
-
Are you not using the FragmentPagerAdapter in a ViewPager? If yes, the solution is telling you to use custom(subclass) ViewPager and override the touch events you don't want. – Alirio Mendes Feb 07 '18 at 23:13