Android Question StdViewPager and scroll

JordiCP

Expert
Licensed User
Longtime User
I have a problem

I use a StdViewPager in my app with four different pages

In one of them I decided to put an horizontal slider. But when I press on it and move more than a certain threshold, the viewpager also catches the event, and begins to scroll. This threshold is much smaller than my slider width, so I can not freely scroll it from end to end

I suppose this is how the stdViewPager is designed. But, is there an "easy" way to deactivate it from scrolling when I detect that I am on the slider?
 
Top