animateScrollToPage

suspend fun animateScrollToPage(@IntRange(from = 0) page: Int, @FloatRange(from = 0.0, to = 1.0) pageOffset: Float = 0.0f)

带动画滚动到指定页面

Parameters

page

Int

pageOffset

Float