Weird onScroll event triggered after onScale event
I have an app that uses a SimpleOnScaleGestureListener and a SimpleOnGestureListener together. Whenever I do a pinch zoom I get the expected onScale's, but when I lift off I see a weird onScroll that has a start position from the beginning of the pinch zoom and an end position from the end of the pinch zoom. My question is, can I prevent the bogus onScroll? Here's the code: @Override public boolean onTouchEvent(MotionEvent event) { // Log every event. Log.d(TAG, Here.at() + String.format("Event: %d, Time: %d X: %f, Y: %f", event.getAction(), event.getEventTime(), event.getX(), event.getY() ));