Sid Sid - 6 months ago 44
Android Question

Using picasso to get image from url

I want lo load the image from url and save it in a file in sd card and then load from file and show on image view.

So I am trying to load image using picasso. But its not showing on image view.

Here is url:

Loading image using picasso.


How to download the image from url. Save it in file in sd card and then load the image from file to show on image view?

Please help. Thank you..


Use GLIDE library it automatically store your image into Cache .....


Note:- Only first time you require internet for loading image. When Image load its working on without internet.

EDIT:- use this gradle

compile 'com.github.bumptech.glide:glide:3.7.0'