View.VerifyDrawable(Drawable) View.VerifyDrawable(Drawable) Method


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")]
protected virtual bool VerifyDrawable (Android.Graphics.Drawables.Drawable who);
abstract member VerifyDrawable : Android.Graphics.Drawables.Drawable -> bool
override this.VerifyDrawable : Android.Graphics.Drawables.Drawable -> bool


Drawable 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.



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