1

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).

Arjun
  • 736
  • 1
  • 8
  • 24
bluePhlavio
  • 537
  • 5
  • 18
  • 1
    You 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

0 Answers0