DrawableWrapper.InvalidateDrawable(Drawable) 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.
Forwards an invalidation request to the wrapper's callback, if one is attached.
[Android.Runtime.Register("invalidateDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetInvalidateDrawable_Landroid_graphics_drawable_Drawable_Handler", ApiSince=23)]
public virtual void InvalidateDrawable(Android.Graphics.Drawables.Drawable who);
[<Android.Runtime.Register("invalidateDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetInvalidateDrawable_Landroid_graphics_drawable_Drawable_Handler", ApiSince=23)>]
abstract member InvalidateDrawable : Android.Graphics.Drawables.Drawable -> unit
override this.InvalidateDrawable : Android.Graphics.Drawables.Drawable -> unit
Parameters
- who
- Drawable
The drawable passed to this callback; the default implementation forwards the wrapper instead when a callback is attached.
Implements
- Attributes
Remarks
The callback receives the wrapper instead of who.
Android reference for android.graphics.drawable.DrawableWrapper.invalidateDrawable.
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.