VerticalMoveAnimation

class VerticalMoveAnimation(view: View, finalPositionPx: Int, fadingEnabled: Boolean) : Animation

A custom Android animation to perform animated movement of a view on the screen.

Parameters

view

View to animate.

finalPositionPx

Final position of a view.

fadingEnabled

Whether fading effect is enabled where a view fades out during movement.

Constructors

Link copied to clipboard
constructor(view: View, finalPositionPx: Int, fadingEnabled: Boolean)

Functions

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 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
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()
Link copied to clipboard