Freigeben über


AbsListView.VerifyDrawable(Drawable) Method

Definition

If your view subclass is displaying its own Drawable objects, it should override this function and return true for any Drawable it is displaying.

[Android.Runtime.Register("verifyDrawable", "(Landroid/graphics/drawable/Drawable;)Z", "GetVerifyDrawable_Landroid_graphics_drawable_Drawable_Handler")]
public virtual bool VerifyDrawable (Android.Graphics.Drawables.Drawable dr);
[<Android.Runtime.Register("verifyDrawable", "(Landroid/graphics/drawable/Drawable;)Z", "GetVerifyDrawable_Landroid_graphics_drawable_Drawable_Handler")>]
override this.VerifyDrawable : Android.Graphics.Drawables.Drawable -> bool

Parameters

dr
Drawable

The Drawable to verify. Return true if it is one you are displaying, else return the result of calling through to the super class.

Returns

Attributes

Remarks

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