I have a block of images that I want to load on my screen. All the images are files that I downloaded and stored on SD-CARD.
So far I found two ways to do it, first is l
One way to do this will be to implement a kind of listener/observer.
From your UI thread, launch other thread that will load the image. Once the image is loaded, thread will invoke a call back method implemented in the activity class to update the corresponding image view.
Instead of android asynch task, I will go for my threads (pooled/Executors). I will get all the possible image paths before loading them, and dispatching them to thread loading the image.And in the call back I know where to updated the image.
Alternatively you can also check how the Loader perform in your case.