SupportedPagerState
基于HorizonPager封装的pager组件
Properties
Functions
Link copied to clipboard
suspend fun animateScrollToPage(@IntRange(from = 0) page: Int, @FloatRange(from = 0.0, to = 1.0) pageOffset: Float = 0.0f)
动画滚动到指定页面
Link copied to clipboard
suspend fun scrollToPage(@IntRange(from = 0) page: Int, @FloatRange(from = 0.0, to = 1.0) pageOffset: Float = 0.0f)
滚动到指定页面