Difficult page swiping when using ViewPager with scrollable View
Created by: taltstidl
First of all thanks a lot for implementing the scrollable view support. It's amazing and almost feels magical
When using a ViewPager
and fragments that contain scrollable views (which get set via setScrollableView()
in the setPrimaryItem(...)
method of the PagerAdapter
), the SlidingUpPanelLayout
often takes over the touch events and cancels the horizontal swipe which makes it difficult to switch between pages.
See here for a demo that shows this. Just try swiping the ViewPager
a few times and you'll notice it. When commenting out this line with the setScrollableView()
this issue isn't present.