I have a requirement to change the activity on swiping it either left or right.
For achieving this I use this link and complete my task. Now I have a problem whereas the activity also has a seek-bar that needs to swipe in either direction to change its position. Currently, whenever I move the thumb of the seek-bar the gesture listener of activity get activated and changes the Screen.
So How could I remove the listener from the seek-bar?
I handled this scenario by adding a hack.
Actually I disabled the gesture listener whenever user start moving thumb and enable it again when user leave it. Hope it helps someone having the same problem.