I am new to Android. Here I want to implement Swipe Gesture to navigate between actions. I searched for it and found different answers on different sites. But I could not say for sure. Reading all of them, I realized that we need to implement onTouchEvent() and onFlingEvent() .
Are these functions sufficient to implement the Swipe action? Please indicate how to proceed step by step to implement swipe gestures.
Sorry if I asked you a very simple question, because I asked this question after a long attempt at many pieces of code.
Can anyone clarify my doubts?
Gk
source share