has Drawable With Tint
public Unit hasDrawableWithTint(@DrawableRes() Integer resId, @ColorRes() Integer tintColorId, Function1<Drawable, Bitmap> toBitmap)
Checks if the view displays given drawable
Parameters
res Id
Drawable resource to be matched
tint Color Id
Tint color resource id
to Bitmap
Lambda with custom Drawable -> Bitmap converter (default is null)
public Unit hasDrawableWithTint(Drawable drawable, @ColorRes() Integer tintColorId, Function1<Drawable, Bitmap> toBitmap)
Checks if the view displays given drawable
Parameters
drawable
Drawable to be matched
tint Color Id
Tint color resource id
to Bitmap
Lambda with custom Drawable -> Bitmap converter (default is null)