-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
use imageloader load picture appear black border #108
Comments
I'm sorry, but I don't quite understand the events leading to your issue. Could you provide screenshots or a screencast? |
@hdodenhof and i find the solution , my code is : public static void displayImageAndInvalidate(String uri,
final ImageView imageView) {
ImageAware imageAware = new ImageViewAware(imageView, false);
ImageLoader.getInstance().displayImage(uri, imageAware,
getCustomOptions(), new SimpleImageLoadingListener() {
@Override
public void onLoadingComplete(String imageUri, View view,
Bitmap loadedImage) {
// add this for the reason
imageView.setImageBitmap(null);
imageView.setImageBitmap(loadedImage);
}
});
} before |
I found the reason of this issue in my case. |
Closing this as the original issue is most likely resolved by now (sorry for not getting back at all) and I can't reproduce it. Please reopen, if this still is an issue. |
@hdodenhof
my case is : enter Activity use imageloader to load testUrl_1 for CircleImageView , then use imageloader to load testUrl_2 for CircleImageView over and over again , then the CircleImageView appears black border.
my code is :
if Activity through onPause , then enter Activity , black border disappear,but if i operate change url ,it also .appear black border.
I don't why it happened , sorry for my bad english and please help me!!!
The text was updated successfully, but these errors were encountered: