CircularImageView
CircularImageView copied to clipboard
doesn't support TransitionDrawable
The following causes a stackoverflow:
BitmapDrawable drawable = new BitmapDrawable(getResources(), response.getBitmap());
TransitionDrawable transition = new TransitionDrawable(new Drawable[]{drawable, getResources().getDrawable(R.drawable.standardimage)});
transition.setCrossFadeEnabled(true);
setImageDrawable(transition);
transition.startTransition(1000);
I suspect the reason is your conversion to Bitmaps, is this really needed? Would getIntrinsicWidth/height not be sufficient?