After stucking few days on that problem I just wanted to share my solution with you and save your time.
Problem
1. Download an image from any URL
2. Show it as a circular image (if download succeeded)
3. Or show a default image in the same ImageView
(if download failed)
[EDIT] I removed my answer because of very useful hints coming from @Budius and the better working solution which he offers below
Best way to achieve the task from the question is using Picasso with a circular transformation.
Like the following code:
and the code for the
circleTransform
copied from this link: https://gist.github.com/julianshen/5829333