InstantAnimation

An empty animation that instantly completes. Useful for replacing dynamic animations with when an animation should conditionally be instant.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun getDuration(): Long
Link copied to clipboard
open override fun willChangeBounds(): Boolean
Link copied to clipboard

Inherited functions

Link copied to clipboard
open fun cancel()
Link copied to clipboard
Link copied to clipboard
open fun getBackdropColor(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getFillAfter(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getRepeatCount(): Int
Link copied to clipboard
open fun getRepeatMode(): Int
Link copied to clipboard
Link copied to clipboard
open fun getStartOffset(): Long
Link copied to clipboard
open fun getStartTime(): Long
Link copied to clipboard
Link copied to clipboard
open fun getZAdjustment(): Int
Link copied to clipboard
open fun hasEnded(): Boolean
Link copied to clipboard
open fun hasStarted(): Boolean
Link copied to clipboard
open fun initialize(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun reset()
Link copied to clipboard
open fun restrictDuration(p0: Long)
Link copied to clipboard
Link copied to clipboard
fun Animation.setAnimationEndListener(onAnimationEnd: () -> Unit)

Sets the animation listener on the animation, dispatching only the AnimationListener.onAnimationEnd callback.

Link copied to clipboard
open fun setBackdropColor(p0: Int)
Link copied to clipboard
open fun setBackgroundColor(p0: Int)
Link copied to clipboard
Link copied to clipboard
open fun setDuration(p0: Long)
Link copied to clipboard
open fun setFillAfter(p0: Boolean)
Link copied to clipboard
open fun setFillBefore(p0: Boolean)
Link copied to clipboard
open fun setFillEnabled(p0: Boolean)
Link copied to clipboard
open fun setInterpolator(p0: Context, p1: Int)
Link copied to clipboard
open fun setRepeatCount(p0: Int)
Link copied to clipboard
open fun setRepeatMode(p0: Int)
Link copied to clipboard
open fun setShowBackdrop(p0: Boolean)
Link copied to clipboard
open fun setStartOffset(p0: Long)
Link copied to clipboard
open fun setStartTime(p0: Long)
Link copied to clipboard
open fun setZAdjustment(p0: Int)
Link copied to clipboard
open fun start()
Link copied to clipboard
open fun startNow()