scrollToIndex

suspend fun scrollToIndex(index: Int)

애니메이션 없이 즉시 해당 인덱스로 이동합니다. Immediately scrolls to the given index without animation.

Parameters

index

이동할 대상 인덱스. items 범위 내여야 합니다. Target index to scroll to. Must be within the items range.

Throws

index가 유효 범위를 벗어난 경우. If index is out of valid range.