lopspower / CircularImageView

Create circular ImageView in Android in the simplest way possible
Apache License 2.0
1.95k stars 413 forks source link

Glide not updating to the final image #35

Closed extmkv closed 8 years ago

extmkv commented 8 years ago

Hi, Jorge here!

When I use Glide to load an image from Internet and setted a placeholder, the CircularImagewView not updating to the final image, always show the placeholder.

Can you resolve the problem?

Thank you

DenisMondon commented 8 years ago

I fixed this by adding .asBitmap() to the glide code :

Glide.with(getContext()).load(pictureUrl)
                .asBitmap()
                .placeholder(R.drawable.ic_test).into(mPicture);

Denis

ZacSweers commented 8 years ago

What if the image is actually animated though?