title: how to download images over http to android cache and display later?
body: <p>I am new to android and I have a scenario here. I have an application that shows a list of items and on click of each list item, opens up an activity that will show an image and few other details. I have made this app in such a way that it will work offline.</p>
  
  <p>But in case of Images, I used Android Universal Image Loader Library, but for this I see that the methods <code>loadImage</code> and <code>displayImage</code> need to be bound to an UI element. I want the app to download all the images when there is network and then when I open any <code>ListView</code> item in offline mode then I want the image to be picked from <code>cache</code> and displayed.</p>
  
  <p>Can anyone of you suggest a way I can achieve this. On one of the similar queries I came across android <code>executorService</code>. Should I be applying this?</p>
  
  <p>Thanks in Advance.</p>