if (imageDrawable == null && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
int cx = art.getWidth() / 2, cy = art.getHeight() / 2;
art.setImageDrawable(resource);
ViewAnimationUtils.createCircularReveal(art, cx, cy, 0, (float) Math.hypot(cx, cy)).start();
} else art.transition(resource);
<BUG>imageDrawable = resource;
if (isLoading()) setLoading(false);</BUG>
final Bitmap bitmap = ImageUtils.drawableToBitmap(resource);
<BUG>if (backgroundImage != null) {
new Thread() {</BUG>
@Override

if (imageDrawable == null && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
int cx = art.getWidth() / 2, cy = art.getHeight() / 2;
art.setImageDrawable(resource);
ViewAnimationUtils.createCircularReveal(art, cx, cy, 0, (float) Math.hypot(cx, cy)).start();
} else art.transition(resource);
final Bitmap bitmap = ImageUtils.drawableToBitmap(resource);
if (backgroundImage != null && imageDrawable == null) {
new Thread() {
@Override
