If I cache an image from internet, does that mean if the internet is disconnected, tihe image can still be loaded? What is the goodness of caching?
Yes, avoiding unnecessary reloading of images.
It's obvious that you don't have to load the images every time, if it was already loaded and cached before internet disconnects then it will use the cached images to show. Otherwise error image can be shown in case loading fails or internet disconnects.
Update: Created a separate instance of my async image loader extension with additional zoom functionality.
Original Async image loader extension will remain separate.
What types of image files work, would this work with gifs (shwoing the animated gif not just a single frame of the gif) and svgs? if not could you please update it so it does? Thanks!
No, currently it doesn't support svg or gif.
K! Thanks!, Are you planning on doing so tho? or not?
Will try!
I think it does not load image from cache. Moreover it’s loading speed is slow than DevYBimageLoader.
However, can you please fix the cache file loading problem ?
Same issue here!
This extension does not cache images in local storage as other extensions like Picasso does. To keep it simple and lightweight I have implemented a temporary cache imaging in temporary storage.
Is it possible to add a border radius feature to this extension, where the user supplies the radius? Perhaps in the main method?
I also note that the placeholder image and error image remain rectangular when using CircularImage=true, and a designated image fails to load or is not provided.
I don’t think this is a good idea as it may complicate the code and usage of this extension. My intention is to keep this extension as simple as possible.
For your need, I will make this extension (along with my other few extensions) open source for experiments and modifications.
That would be very useful ![]()
This extension is now open source! Feel free to have some experiments with it.
Forked version of AsyncImageLoader to include rounded corners for images
Source
AsyncImage.java.txt (11.2 KB)

