Can be the sliding of a ViewPager be activated only in certain regions?

philiphuynhphiliphuynh ✭✭USMember ✭✭

I have a ViewPager that takes up most of the screen. I also have a sliding drawer menu that will display a ListView 2/3 of the page when the user swipes from left to right.

There is a conflict if the user wants to open up the drawer menu by swiping left to right but by doing so the ViewPager will slide back to the previous fragment.

Is there a way to limit the region that the ViewPager will slide or another solution to this problem?

Sign In or Register to comment.