public interface ComparableDrawable
isEquivalentTo(ComparableDrawable)
. This allows drawables to be compared in a more meaningful
way, instead of using Drawable#equals(Object)
which only checks if the references are
equal.ComparableColorDrawable
Modifier and Type | Method and Description |
---|---|
boolean |
isEquivalentTo(ComparableDrawable other) |
boolean isEquivalentTo(ComparableDrawable other)
other
- The other drawabletrue
iff this drawable is equivalent to the .