Android tricks - How to compare two drawables?
Drawables are widely used throughout the developing process of Android applications. Because of one reason, or another we can be interested in comparing two drawable objects. At first, that sounds like an easy task, but actually it can be a bit tricky. The ‘==’ operator Of course, if you have two different instances of the same drawable resource, the ‘==’ operator is useless. It’s gonna compare if the left and the right side are actually the same instance....