ImageGalleryState

open class ImageGalleryState(val pagerState: SupportedPagerState)

Deprecated

com.origeek.imageViewer下的全部类和方法均已弃用! 请使用新版本:com.jvziyaoyao.viewer。

gallery状态

Constructors

Link copied to clipboard
constructor(pagerState: SupportedPagerState)

Properties

Link copied to clipboard

当前页码

Link copied to clipboard

当前viewer的状态

Link copied to clipboard

interactionSource

Link copied to clipboard

总页数

Link copied to clipboard
Link copied to clipboard

目标页码

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)

滚动到指定页面