Simple slide and click listener, compiled from several sources from the Internet
- Add
OnSlideTouchListener.java
to the application (replace package if needed) - Define your
View
with any way (textView
finded by id in the example) - Set listener with
setOnTouchListener
method - Override slides and touch you needed
- Be calm and happy