ViewPropertyAnimator.SetListener(Animator+IAnimatorListener) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.