Closed GoogleCodeExporter closed 8 years ago
Synchronous Image Caching
In my code a background thread runs through a list of images, possibly 100 or
more, that are need in the application. It then attempts to download them into
cache but it needs to know that the image downloads are finished, ie complete
or all failed or whatever. Basically the image queue is empty.
So I'd like something like:
for (String imageUrl : imageUrls) {
aq.cache(imageUrl);
}
aq.blockUntilQueueEmpty();
The background process wants to bring down the images full sized.
Then in my UI if I issued
aq.id(R.id.imageView, someUrlThatIsInTheQueue, true, true, 200);
I would like that to know it has the full sized image in cache and return a
downsized image.
Is this possible?
Original comment by tinyeeliu@gmail.com
on 14 Aug 2012 at 6:19
I have implemented and tested background download and it's too complicated to
get it right.
Will hold off this request for now.
Original comment by tinyeeliu@gmail.com
on 14 Dec 2012 at 10:29
Original issue reported on code.google.com by
tinyeeliu@gmail.com
on 14 Aug 2012 at 6:18