I want to say that I want to understand how the user drags a finger on the screen in which direction? How can I use the touch event?
You can just go through this example. A toast will be displayed when your “Scroll” is on the screen.
Example