setOnFlingListener

open fun setOnFlingListener(@Nullable onFlingListener: @Nullable RecyclerView.OnFlingListener)

Set a OnFlingListener for this RecyclerView.

If the OnFlingListener is set then it will receive calls to fling and will be able to intercept them.

Parameters

onFlingListener

The OnFlingListener instance.