Span Drawable Matcher
Matches given drawable with specified span
Parameters
res Id
Drawable resource to be matched (default is -1)
drawable
Drawable instance to be matched (default is null)
to Bitmap
Lambda with custom Drawable -> Bitmap converter (default is null)
query Start
Index of the character that is the beginning of the range of text to which span is attached (default is 0)
query End
Index of the character that is the end of the range of text to which span is attached (default is null)
span Index
Index of span in string's spans array (default is 0)
Constructors
Link copied to clipboard
public SpanDrawableMatcher SpanDrawableMatcher(@DrawableRes() Integer resId, Drawable drawable, @ColorRes() Integer tintColorId, Function1<Drawable, Bitmap> toBitmap, Integer queryStart, Integer queryEnd, Integer spanIndex)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard