I am using the answer from Mohan at DoubleTap in android But I dont know How to implement it.
I have a webView and I want to detect swipe from left and right and double tap. How could I implement both at a time.Please help I am new to gestures.
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.
Try this,
MyGestureDetector
// your code
// your code
By checking swipe distance, you can differentiate touch and swipe somehow. I hope this will help you.