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!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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


Sign In or Register to comment.