I have a GestureDetector
with a SimpleOnGestureListener
and I provide an implementation of the onScroll method. When the scroll ends I want to start an animation. I can't simply detect event.getAction() == ACTION_UP
because on the activity I have others gesture detectors and I don't want the animation always starts, but only if the scrolling is ended (and not, for example, when a singleTap is ended).
Asked
Active
Viewed 2,124 times
1

Arjun
- 736
- 1
- 8
- 24

bluePhlavio
- 537
- 5
- 18
-
1You could achieve this as explained in the reference link [this](http://stackoverflow.com/questions/2089552/android-how-to-detect-when-a-scroll-has-ended). – Oct 30 '15 at 10:06
-
@Viren Thanks, answer by Akos Cz is very clean and useful! – bluePhlavio Oct 30 '15 at 10:59
-
plase upvote the comment if it is usefull – Oct 31 '15 at 06:56