I am using imageLoader class to load image in background, after that i am setting image in emulator its working. In device its not showing lazy downloaded image.
private void queuePhoto(String url, Activity activity, ImageView imageView)
{
photosQueue.Clean(imageView);
PhotoToLoad p=new PhotoToLoad(url, imageView);
synchronized(photosQueue.photosToLoad)
{
photosQueue.photosToLoad.push(p);
photosQueue.photosToLoad.notifyAll();
}
(photoLoaderThread.getState()==Thread.State.NEW)
photoLoaderThread.start();
}
Here’s my version of ImageLoader I accompany every ImageView with progressbar. Animations then applied for transitions. I also removed the SD card caching option. You should see most remnant of my modifications.