Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

picasso conflict #9

Closed
zhengzhou opened this issue May 9, 2014 · 1 comment
Closed

picasso conflict #9

zhengzhou opened this issue May 9, 2014 · 1 comment

Comments

@zhengzhou
Copy link

have conflict with picasso .when i load drawable twice.

because the method "setImageDrawable()" cause invalidate twice.
I resolve by:
@OverRide
public void setImageDrawable(Drawable drawable) {
mBitmap = getBitmapFromDrawable(drawable);
setup();
super.setImageDrawable(drawable);
}

@vinc3m1
Copy link

vinc3m1 commented May 15, 2014

You should use Transformations for Picasso, see the Transformation section in RoundedImageView (which also supports circles btw): https://github.com/vinc3m1/RoundedImageView#usage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants