Android Guides | Samples

Android.Graphics.Drawables.LayerDrawable.UnscheduleDrawable Method

A Drawable can call this to unschedule an action previously scheduled with ICallback.

Syntax

[Android.Runtime.Register("unscheduleDrawable", "(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;)V", "GetUnscheduleDrawable_Landroid_graphics_drawable_Drawable_Ljava_lang_Runnable_Handler")]
public virtual Void UnscheduleDrawable (Drawable who, IRunnable what)

Parameters

who
The drawable being unscheduled.
what
The action being unscheduled.

Remarks

A Drawable can call this to unschedule an action previously scheduled with ICallback. An implementation can generally simply call Handler.RemoveCallbacks(IRunnable,Object) with the parameters (what, who) to unschedule the drawable.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1