SimpleOnItemTouchListener
An implementation of RecyclerView.OnItemTouchListener that has empty method bodies and default return values.
You may prefer to extend this class if you don't need to override all methods. Another benefit of using this class is future compatibility. As the interface may change, we'll always provide a default implementation on this class so that your code won't break when you update to a new version of the support library.
Functions
Link copied to clipboard
Silently observe and/or take over touch events sent to the RecyclerView before they are handled by either the RecyclerView itself or its child views.
Link copied to clipboard
Called when a child of RecyclerView does not want RecyclerView and its ancestors to intercept touch events with ViewGroup#onInterceptTouchEvent(MotionEvent).
Link copied to clipboard
Process a touch event as part of a gesture that was claimed by returning true from a previous call to #onInterceptTouchEvent.