Implementors of this interface can add themselves as update listeners
to an DynamicAnimation instance to receive callbacks on every animation
frame, after the current frame's values have been calculated for that
DynamicAnimation.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# android.support.animation\n\nadded in [version 25.4.0](/topic/libraries/support-library/revisions) \n\nandroid.support.animation\n=========================\n\n| This package is part of the Android [support library](/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](/jetpack/androidx) which is part of [Jetpack](/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class\n| mappings](/jetpack/androidx/migrate/class-mappings).\n\nInterfaces\n----------\n\n|-------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DynamicAnimation.OnAnimationEndListener](/reference/android/support/animation/DynamicAnimation.OnAnimationEndListener) | An animation listener that receives end notifications from an animation. |\n| [DynamicAnimation.OnAnimationUpdateListener](/reference/android/support/animation/DynamicAnimation.OnAnimationUpdateListener) | Implementors of this interface can add themselves as update listeners to an `DynamicAnimation` instance to receive callbacks on every animation frame, after the current frame's values have been calculated for that `DynamicAnimation`. |\n\nClasses\n-------\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|\n| [DynamicAnimation](/reference/android/support/animation/DynamicAnimation)\\\u003cT extends [DynamicAnimation](/reference/android/support/animation/DynamicAnimation)\\\u003cT\\\u003e\\\u003e | This class is the base class of physics-based animations. |\n| [DynamicAnimation.ViewProperty](/reference/android/support/animation/DynamicAnimation.ViewProperty) | ViewProperty holds the access of a property of a [View](https://developer.android.com/reference/android/view/View.html). |\n| [FlingAnimation](/reference/android/support/animation/FlingAnimation) | Fling animation is an animation that continues an initial momentum (most often from gesture velocity) and gradually slows down. |\n| [FloatPropertyCompat](/reference/android/support/animation/FloatPropertyCompat)\\\u003cT\\\u003e | FloatPropertyCompat is an abstraction that can be used to represent a mutable float value that is held in a host object. |\n| [FloatValueHolder](/reference/android/support/animation/FloatValueHolder) | FloatValueHolder holds a float value. |\n| [SpringAnimation](/reference/android/support/animation/SpringAnimation) | SpringAnimation is an animation that is driven by a [SpringForce](/reference/android/support/animation/SpringForce). |\n| [SpringForce](/reference/android/support/animation/SpringForce) | Spring Force defines the characteristics of the spring being used in the animation. |\n\n-\n\n Interfaces\n ----------\n\n - [DynamicAnimation.OnAnimationEndListener](/reference/android/support/animation/DynamicAnimation.OnAnimationEndListener)\n - [DynamicAnimation.OnAnimationUpdateListener](/reference/android/support/animation/DynamicAnimation.OnAnimationUpdateListener)\n-\n\n Classes\n -------\n\n - [DynamicAnimation](/reference/android/support/animation/DynamicAnimation)\n - [DynamicAnimation.ViewProperty](/reference/android/support/animation/DynamicAnimation.ViewProperty)\n - [FlingAnimation](/reference/android/support/animation/FlingAnimation)\n - [FloatPropertyCompat](/reference/android/support/animation/FloatPropertyCompat)\n - [FloatValueHolder](/reference/android/support/animation/FloatValueHolder)\n - [SpringAnimation](/reference/android/support/animation/SpringAnimation)\n - [SpringForce](/reference/android/support/animation/SpringForce)"]]