vinc3m1 / RoundedImageView

A fast ImageView that supports rounded corners, ovals, and circles.
Other
6.44k stars 1.25k forks source link

Losing Fade-in Animation when used with Picasso #257

Closed divinsmathew closed 4 years ago

divinsmathew commented 4 years ago

I used to get a fade-in kind of transition when an image is loaded using Picasso into a regular ImageView with something like:

Picasso.get()
 .load(event.PosterURL)
 .placeholder(R.drawable.back_image)
 .into((ImageView) child.findViewById(R.id.EventPoster));

Same code works with RoundedImageView, but the fade-in animation is gone and the placeholder is replaced promptly. How an I achieve this animation?

vinc3m1 commented 4 years ago

See the README for Picasso usage: https://github.com/vinc3m1/RoundedImageView#picasso