BottomSideSpringAnimation

A custom Android animation to perform bottom side animated enter and exit of a view on the screen.

Parameters

view

View to animate.

transitionType

Transition type. For more details refer to TransitionType.

fadingEnabled

Whether fading effect is enabled.

Constructors

Link copied to clipboard

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Type of animation transition.

Functions

Link copied to clipboard
open override fun getTransformation(currentTime: Long, outTransformation: Transformation?): Boolean
Link copied to clipboard
open override fun initialize(width: Int, height: Int, parentWidth: Int, parentHeight: Int)
Link copied to clipboard

Inherited functions

Link copied to clipboard
open fun cancel()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDuration(): Long
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
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
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
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 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()
Link copied to clipboard

Extensions

Link copied to clipboard
fun Animation.setAnimationEndListener(onAnimationEnd: () -> Unit)

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