-
Notifications
You must be signed in to change notification settings - Fork 6.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
Allow passing 'null' as ImageView (or loadImage(...)) #51
Comments
Some important information is got from incoming ImageView: scaleType, width, height, maxWidth, maxHeight. It's needed to define which minimum Bitmap size is required for displaying. And depending on these parameters original image is decoded and scaled to defined size. Also some other logic is associated with ImageView. |
Mainly for setting action bar icon to a remote image. |
I'll think about adding new method to ImageLoader (e.g. loadImage(...)) |
That would be great. Thanks! |
Out of interest, is there a good way to set the action bar icon to a remote image right now? Just trying to figure that out at the moment :) |
getActionBar().setIcon() in SimpleImageLoadingListener#onLoadingComplete |
It's also necessary for setting notification icons. Would love to have it! |
Yep, it would be nice to add some method like loadImage(String someUrl, ImageLoadingListener listener); |
Question: do you need Bitmap as a result or image File? |
Bitmap would be great (I think for both cases). Thanks! |
Having to create a dummy ImageView every time I'm creating a callback to load a bitmap into a custom widget is kinda annoying. Could we get an option to pass null instead?
The text was updated successfully, but these errors were encountered: