PageReviewRotationState

class PageReviewRotationState(val scope: <Error class: unknown class>, pageIndex: Int = 0)

Store the state of rotation of view for single Page in pager on Review screen.

Constructors

Link copied to clipboard
constructor(scope: <Error class: unknown class>, pageIndex: Int = 0)

Properties

Link copied to clipboard
val rotation: <Error class: unknown class><Float>
Link copied to clipboard
val scale: <Error class: unknown class><Float>
Link copied to clipboard
val scope: <Error class: unknown class>

Functions

Link copied to clipboard

Awaits until the full rotation cycle completes (image reload + crossfade + reset). Must be called after rotateAndAwait returns true and the image reload is triggered.

Link copied to clipboard
fun reset()
Link copied to clipboard
suspend fun rotateAndAwait(pageIndex: Int = 0): Boolean
Link copied to clipboard
fun setContainerViewSize(size: <Error class: unknown class>)
Link copied to clipboard
fun setImageSize(size: <Error class: unknown class>)