Android: How to detect end of scroll

Posted by Mix on Stack Overflow See other posts from Stack Overflow or by Mix
Published on 2010-06-06T20:37:51Z Indexed on 2010/06/06 20:42 UTC
Read the original article Hit count: 499

Filed under:

Hi! I need to implement HorizontalScrollView which is scrolled to predefined positions (similar to Home behaviour). It works with slow gestures, but does not work with flings.

I hooked to View.onScrollChanged() and it is called when scrolling happened, but I can't determine when scrolling ends.

In theory there should be a way to say that fling is over. Is there such API?

© Stack Overflow or respective owner

Related posts about android