Android download and save image through Picasso
1. Make sure you have picasso in your gradle build file’s dependencies tag.
1 2 |
<span class="pln">compile </span><span class="str">'com.squareup.picasso:picasso:2.5.2' </span> |
2. To use the Picasso for saving image file, you need to define a Target class. This method creates a target object that you can use with Picasso. Target is an interface defined in Picasso’s library. You can define this method […]