ViewPropertyAnimator.SetUpdateListener Method

Definition

Sets a listener for update events in the underlying ValueAnimator that runs the property animations.

[Android.Runtime.Register("setUpdateListener", "(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)Landroid/view/ViewPropertyAnimator;", "GetSetUpdateListener_Landroid_animation_ValueAnimator_AnimatorUpdateListener_Handler")]
public virtual Android.Views.ViewPropertyAnimator SetUpdateListener (Android.Animation.ValueAnimator.IAnimatorUpdateListener? listener);
[<Android.Runtime.Register("setUpdateListener", "(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)Landroid/view/ViewPropertyAnimator;", "GetSetUpdateListener_Landroid_animation_ValueAnimator_AnimatorUpdateListener_Handler")>]
abstract member SetUpdateListener : Android.Animation.ValueAnimator.IAnimatorUpdateListener -> Android.Views.ViewPropertyAnimator
override this.SetUpdateListener : Android.Animation.ValueAnimator.IAnimatorUpdateListener -> Android.Views.ViewPropertyAnimator

Parameters

listener
ValueAnimator.IAnimatorUpdateListener

The listener to be called with update events. A value of <code>null</code> removes any existing listener.

Returns

This object, allowing calls to methods in this class to be chained.

Attributes

Remarks

Java documentation for android.view.ViewPropertyAnimator.setUpdateListener(android.animation.AnimatorUpdateListener).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to