setScrollingTouchSlop

open fun setScrollingTouchSlop(slopConstant: Int)(source)

Configure the scrolling touch slop for a specific use case. Set up the RecyclerView's scrolling motion threshold based on common usages. Valid arguments are TOUCH_SLOP_DEFAULT and TOUCH_SLOP_PAGING.

Parameters

slopConstant

One of the TOUCH_SLOP_ constants representing the intended usage of this RecyclerView