views:

27

answers:

0

I've got my own version of the SimpleOnGestureListener. Within it is the onScroll function. I have it set to do absolutely nothing because at this point I don't want it to scroll at all. I've got plans for it later, but for now I want to override the scrolling with nothing. This is all that's in the function:

public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
  return true;
 }

I have this assigned to a ScrollView. The problem is it appears the ScrollViews built in scrolling takes precedence for a second. If I click and scroll the view it will scroll a small amount then stop as the my function has finally taken over. Any thoughts on what's causing this?