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);
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 null removes any existing listener.

Returns

ViewPropertyAnimator
Attributes

Remarks

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