addOnItemTouchListener

Add an OnItemTouchListener to intercept touch events before they are dispatched to child views or this view's standard scrolling behavior.

Client code may use listeners to implement item manipulation behavior. Once a listener returns true from onInterceptTouchEvent its onTouchEvent method will be called for each incoming MotionEvent until the end of the gesture.

Parameters

listener

Listener to add

See also