Android.Animation.ObjectAnimator.SetAutoCancel Method
autoCancel controls whether an ObjectAnimator will be canceled automatically when any other ObjectAnimator with the same target and properties is started.

Syntax

[Android.Runtime.Register("setAutoCancel", "(Z)V", "")]
public void SetAutoCancel (bool cancel)

Parameters

cancel
Whether future ObjectAnimators with the same target and properties as this ObjectAnimator will cause this ObjectAnimator to be canceled.

Remarks

autoCancel controls whether an ObjectAnimator will be canceled automatically when any other ObjectAnimator with the same target and properties is started. Setting this flag may make it easier to run different animators on the same target object without having to keep track of whether there are conflicting animators that need to be manually canceled. Canceling animators must have the same exact set of target properties, in the same order.

[Android Documentation]

Requirements

Namespace: Android.Animation
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18