BitmapComparisonUtils

Utility functions for comparing drawables and views by rendering them to bitmaps.

Functions

Link copied to clipboard
fun drawablesMatch(drawable1: Drawable, drawable2: Drawable): Boolean

Draws both drawables to Bitmaps and compares them for equality.

Link copied to clipboard

Compares a view's rendered output to a drawable.