In my sample app, I’m drawing a view using a Canvas and GestureDetector. For the OnGestureListener, all methods are working except onFling and onScroll.
Can anybody sugest me how I can detect the Fling and Scroll gestures on the Canvas.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Make sure your onDown method in your GestureListener class is returning true. OnFling and OnScroll won’t fire without the OnDown returning true.