AnimatorUtils

open class AnimatorUtils

Animator utility class.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
An interface definition that is invoked when an animation ends.

Functions

Link copied to clipboard
open fun alpha(@NonNull convertView: View, alpha: Float)
open fun alpha(@NonNull convertView: View, alpha: Float, @Nullable listener: AnimatorUtils.OnAnimationEndListener)
Animate a view alpha property to a value.
Link copied to clipboard
open fun animate(@NonNull view: View, @AnimatorRes animatorRes: Int)
open fun animate(@NonNull view: View, @AnimatorRes animatorRes: Int, duration: Int)
open fun animate(@NonNull view: View, @AnimatorRes animatorRes: Int, @Nullable listener: AnimatorUtils.OnAnimationEndListener)
open fun animate(@Nullable view: View, @AnimatorRes animatorRes: Int, duration: Int, @Nullable listener: AnimatorUtils.OnAnimationEndListener)
Animate a view from an animator resource.
Link copied to clipboard
open fun rotate(@NonNull view: View, rotation: Float)
Animate a view rotation property to a value.
Link copied to clipboard
open fun rotateBy(@NonNull view: View, rotationBy: Float)
Animate a view rotation property by a value.