library / com.otaliastudios.zoom / ZoomApi / cancelAnimations

cancelAnimations

abstract fun cancelAnimations(): Boolean

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