SimpleOnGestureListener.OnScroll doesn't calling properly on fast scrolling - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

SimpleOnGestureListener.OnScroll doesn't calling properly on fast scrolling

lokeshjoshi786lokeshjoshi786 IndorePosts: 0Member

I need to change image when user swipe image from Left to right and vice-versa that's why i have used SimpleOnGestureListener to detect swipe event on image view, in this process when i swipe image slowly then onScroll method calls frequently and every thing is working fine but when i swipe image fastly, onScroll method called hardly only two three times, according to my requirement i need to change image as fast as user swipe or scroll on image, please let me know what should i do to make onScroll method called according swipe's speed.

I am new bee to Android , your help will be

Thanks

Tagged:
Sign In or Register to comment.