DISCLAIMER: This is not for ViewFlipper, but you can try to use it.
This tutorial helped me to realize the swipe effect in the application in the past without any problems, it gives a method from swipe to top, bottom-top, left-right and right-left. And he checks it with a simple toast that says “Swipe the screen from left to right,” etc.

source share