hasDrawableWithTint

public Unit hasDrawableWithTint(@DrawableRes() Integer resId, @ColorRes() Integer tintColorId, Function1<Drawable, Bitmap> toBitmap)

Checks if the view displays given drawable

Parameters

resId

Drawable resource to be matched

tintColorId

Tint color resource id

toBitmap

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

tintColorId

Tint color resource id

toBitmap

Lambda with custom Drawable -> Bitmap converter (default is null)