Stay organized with collections
Save and categorize content based on your preferences.
ValueAnimator.AnimatorUpdateListener
public
static
interface
ValueAnimator.AnimatorUpdateListener
android.animation.ValueAnimator.AnimatorUpdateListener
|
Implementors of this interface can add themselves as update listeners
to an ValueAnimator
instance to receive callbacks on every animation
frame, after the current frame's values have been calculated for that
ValueAnimator
.
Summary
Public methods
onAnimationUpdate
public abstract void onAnimationUpdate (ValueAnimator animation)
Notifies the occurrence of another frame of the animation.
Parameters |
animation |
ValueAnimator : The animation which was repeated.
This value cannot be null . |
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,["# ValueAnimator.AnimatorUpdateListener\n\nAdded in [API level 11](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nValueAnimator.AnimatorUpdateListener\n====================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/animation/ValueAnimator.AnimatorUpdateListener \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nValueAnimator.AnimatorUpdateListener\n`\n\n\n`\n\n\n`\n\n|--------------------------------------------------------|\n| android.animation.ValueAnimator.AnimatorUpdateListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nImplementors of this interface can add themselves as update listeners\nto an `ValueAnimator` instance to receive callbacks on every animation\nframe, after the current frame's values have been calculated for that\n`ValueAnimator`.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onAnimationUpdate](/reference/android/animation/ValueAnimator.AnimatorUpdateListener#onAnimationUpdate(android.animation.ValueAnimator))`(`[ValueAnimator](/reference/android/animation/ValueAnimator)` animation) ` \u003cbr /\u003e Notifies the occurrence of another frame of the animation. |\n\nPublic methods\n--------------\n\n### onAnimationUpdate\n\nAdded in [API level 11](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onAnimationUpdate (ValueAnimator animation)\n```\n\n\u003cbr /\u003e\n\nNotifies the occurrence of another frame of the animation.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------------|----------------------------------------------------------------------------------------|\n| `animation` | `ValueAnimator`: The animation which was repeated. This value cannot be `null`. \u003cbr /\u003e |"]]