Take a look at [this sample project](https://github.com/fuse-open/fuse-samples/tree/master/Samples/Gestures/Swipe) for an in-depth example.