setScrollDirectionThreshold

fun setScrollDirectionThreshold(minimumScrollMovementRange: Int)

Sets the minimum scroll movement range required to trigger a scroll direction change event.
This method allows you to define the minimum distance (in pixels) that the RecyclerScrollStateView must be scrolled in a particular direction before a scroll direction change event is triggered.
By default, the minimum scroll movement range is set to 20 pixels.
You can adjust this value to control the sensitivity of scroll direction detection. A higher value will make the detection less sensitive, while a lower value will make it more sensitive.

스크롤 방향 변경 이벤트를 트리거하는 데 필요한 최소 스크롤 이동 범위(px)를 설정합니다.
이 메서드를 사용하면 스크롤 방향 변경 이벤트가 트리거되기 전에 RecyclerScrollStateView가 특정 방향으로 스크롤되어야 하는 최소 거리(픽셀 단위)를 정의할 수 있습니다.
기본값으로 최소 스크롤 이동 범위는 20픽셀로 설정됩니다.
이 값을 조정하여 스크롤 방향 감지의 민감도를 제어할 수 있습니다. 값이 높을수록 감지가 덜 민감해지고, 낮을수록 더 민감해집니다.

Parameters

minimumScrollMovementRange

The minimum scroll movement range in pixels. This value should be >= 0.

최소 스크롤 이동 범위(픽셀 단위). 이 값은 0 이상이어야 합니다.