Muthu Raj
1 min readDec 4, 2017

--

Yeah. Using Glide we can convert normal image into circule or rounded rectangle. We also need to set the shape for drawable (for placeholder) which can be done at the time of drawable creation.

I did exactly the same and I got some weird issues in the view. The bitmap got reused for different instances of the view (Same image shown on different places). If it works well for you without this issue, then it’s good.

Using AvatarView also utilizes glide animation from placeholder to actual bitmap since we let the glide to do the actual image loading part.

--

--

Muthu Raj
Muthu Raj

Written by Muthu Raj

Android Developer at Zoho Corp

No responses yet