DrawableWrapper.UnscheduleDrawable(Drawable, IRunnable) 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.
A Drawable can call this to unschedule an action previously scheduled with scheduleDrawable(Drawable, Runnable, long).
[Android.Runtime.Register("unscheduleDrawable", "(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;)V", "GetUnscheduleDrawable_Landroid_graphics_drawable_Drawable_Ljava_lang_Runnable_Handler", ApiSince=23)]
public virtual void UnscheduleDrawable(Android.Graphics.Drawables.Drawable who, Java.Lang.IRunnable what);
[<Android.Runtime.Register("unscheduleDrawable", "(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;)V", "GetUnscheduleDrawable_Landroid_graphics_drawable_Drawable_Ljava_lang_Runnable_Handler", ApiSince=23)>]
abstract member UnscheduleDrawable : Android.Graphics.Drawables.Drawable * Java.Lang.IRunnable -> unit
override this.UnscheduleDrawable : Android.Graphics.Drawables.Drawable * Java.Lang.IRunnable -> unit
Parameters
- who
- Drawable
- what
- IRunnable
Implements
- Attributes
Remarks
A Drawable can call this to unschedule an action previously scheduled with scheduleDrawable(Drawable, Runnable, long). An implementation can generally simply call android.os.Handler.removeCallbacks(Runnable,Object) with the parameters (what, who) to unschedule the drawable.
Android reference for android.graphics.drawable.DrawableWrapper.unscheduleDrawable.
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.