Friday, 6 September 2013

ViewPager disable swiping to a certain direction

ViewPager disable swiping to a certain direction

I want to disable the swiping, but only to the right side. I found a
working solution in this answer. Unfortunately, this copies the whole
ViewPager source to achieve the goal. Is there any methods just inheriting
the existing class and not duplicating?

No comments:

Post a Comment