setDragInGutterEnabled

Set whether ViewPager should consume drag events if they are within the gutter (left and right edges) of the ViewPager. The default value false.

Parameters

enabled

true if ViewPager should allow drag in gutter, false otherwise