Skip to content Skip to sidebar Skip to footer

Android Picasso - Save Image Locally Before Viewing It In Imageview

I have made an app which shows a list of image. But before, I downloaded all the images to the sdcard, and I show a progress dialog with the number of downloaded files. I'm thinkin

Solution 1:

using picasso to load image is good, there are a serveral advantage like:

  1. Memory and disk caching of uncompress imagery, post-processing
  2. An automatically created singleton image downloader
  3. Multiple downloads at one time

But you can try to use Volley, for me this is the best! About your problem, try to show item.getItem().getPath() in logcat and look if the path is ok or not, the path should be the path in sdcard if you want to use the image in sdcard

Post a Comment for "Android Picasso - Save Image Locally Before Viewing It In Imageview"