library / com.otaliastudios.zoom / ZoomEngine / cancelAnimations

cancelAnimations

open fun cancelAnimations(): Boolean

Overrides ZoomApi.cancelAnimations

Cancels all currently active animations triggered by either API calls with animate = true or touch input flings. If no animation is currently active this is a no-op.

Return
true if anything was cancelled, false otherwise