How to detect overscroll in Android ListView?

Alexey picture Alexey · Oct 12, 2013 · Viewed 10.6k times · Source

I'd like to show/hide a view when the user over scroll the listview.

How can I detect the over-scroll? Is there any listener? I've tried OnScrollListener but it only notifies about onScrollStateChanged and onScroll

Answer

Sean picture Sean · Oct 12, 2013

You can override the method onOverScrolled, as it respond to the results of an over-scroll operation.