ViewPropertyAnimator.SetListener(Animator+IAnimatorListener) Method

Definition

Sets a listener for events in the underlying Animators that run the property animations.

[Android.Runtime.Register("setListener", "(Landroid/animation/Animator$AnimatorListener;)Landroid/view/ViewPropertyAnimator;", "GetSetListener_Landroid_animation_Animator_AnimatorListener_Handler")]
public virtual Android.Views.ViewPropertyAnimator SetListener (Android.Animation.Animator.IAnimatorListener? listener);
[<Android.Runtime.Register("setListener", "(Landroid/animation/Animator$AnimatorListener;)Landroid/view/ViewPropertyAnimator;", "GetSetListener_Landroid_animation_Animator_AnimatorListener_Handler")>]
abstract member SetListener : Android.Animation.Animator.IAnimatorListener -> Android.Views.ViewPropertyAnimator
override this.SetListener : Android.Animation.Animator.IAnimatorListener -> Android.Views.ViewPropertyAnimator

Parameters

listener
Animator.IAnimatorListener

The listener to be called with AnimatorListener 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.setListener(android.animation.AnimatorListener).

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