I have implement on click button to do some thing and go to next activity. How to call this ( button.performClick() ) on swipe ? What listener to implement and catch ? Just on swipe to call button.performClick().
Share
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.
use onGestureListner and GestureDetector to catch onFling occasion and write necessary code there
http://android-journey.blogspot.com/2010/01/android-gestures.html
Refer to above page for more details