animateScrollToIndex

suspend fun animateScrollToIndex(index: Int)

애니메이션과 함께 해당 인덱스로 이동합니다. Animates scrolling to the given index.

Parameters

index

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

Throws

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