drawablesMatch

fun drawablesMatch(drawable1: Drawable, drawable2: Drawable): Boolean

Draws both drawables to Bitmaps and compares them for equality.

Return

true if the drawables render identically

Parameters

drawable1

the first drawable to compare

drawable2

the second drawable to compare