Maybe the more clean solution would be to instantiate a new GestureDetector
/GestureReader
for each activity.
According to doc the GestureDetector
would also be happy with the Application
's context so you can retrieve the Application
from one of your activities to feed it to the detector