TransformPreviewerState
open class TransformPreviewerState(scope: CoroutineScope, var defaultAnimationSpec: AnimationSpec<Float> = DEFAULT_SOFT_ANIMATION_SPEC, val pagerState: SupportedPagerState, itemStateMap: ItemStateMap, val getKey: (Int) -> Any) : PopupPreviewerState
用于控制转换效果图层与图片列表浏览图层
Parameters
pagerState
Inheritors
Constructors
Link copied to clipboard
constructor(scope: CoroutineScope, defaultAnimationSpec: AnimationSpec<Float> = DEFAULT_SOFT_ANIMATION_SPEC, pagerState: SupportedPagerState, itemStateMap: ItemStateMap, getKey: (Int) -> Any)
Properties
Link copied to clipboard
Link copied to clipboard
当前页码
Link copied to clipboard
Link copied to clipboard
默认动画窗格
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interactionSource
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
底层SupportedPagerState
Link copied to clipboard
Link copied to clipboard
目标页码
Link copied to clipboard
Link copied to clipboard
当前viewer的状态
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun scrollToPage(@IntRange(from = 0) page: Int, @FloatRange(from = 0.0, to = 1.0) pageOffset: Float = 0.0f)
滚动到指定页面
Link copied to clipboard
更新当前的标记状态