Condividi tramite


Animation.Cancel Method

Definition

Cancel the animation.

[Android.Runtime.Register("cancel", "()V", "GetCancelHandler")]
public virtual void Cancel ();
[<Android.Runtime.Register("cancel", "()V", "GetCancelHandler")>]
abstract member Cancel : unit -> unit
override this.Cancel : unit -> unit
Attributes

Remarks

Cancel the animation. Cancelling an animation invokes the animation listener, if set, to notify the end of the animation.

If you cancel an animation manually, you must call #reset() before starting the animation again.

Java documentation for android.view.animation.Animation.cancel().

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

See also