How do I stop a gesture listener from listening after a method has been called as a result of the touch event that has already happened.
Confusing, I know.
In steps,
- User touches screen and scrolls a certain distance
- Event is triggered based on distance scrolled/or speed; doesn't matter
- If user holds finger on screen, it continues to calculate
- Randomness occurs due to these calculations
How can one stop this from listening until the finger is replaced on the screen?
Does the GestureListener have a stop protocol method or something, I can envision onLift or something?
Do I need to unattach the listeners?
Any help is appreciated