ZoomablePagerState

open class ZoomablePagerState(val pagerState: SupportedPagerState)

用于获取ZoomablePager的状态和对其进行控制

Inheritors

Constructors

Link copied to clipboard
constructor(pagerState: SupportedPagerState)

Properties

Link copied to clipboard

当前页码

Link copied to clipboard
val interactionSource: InteractionSource

interactionSource

Link copied to clipboard

底层SupportedPagerState

Link copied to clipboard

目标页码

Link copied to clipboard

当前viewer的状态

Functions

Link copied to clipboard
suspend fun animateScrollToPage(page: Int, pageOffset: Float = 0.0f)

动画滚动到指定页面

Link copied to clipboard
suspend fun scrollToPage(page: Int, pageOffset: Float = 0.0f)

滚动到指定页面