Android has libas picasso.
I have 2 questions
1) How to increase the size of the cache and specify that the cache is stored on the sd card. Simply, it saves a maximum of 4-10 pictures in the cache. Every time a new shakes.

2) I have 10 windows and in each I write, whether I am doing the right thing. Or do I need to use Picasso once and make it static? Picasso.with () .....

    1 answer 1

    You can make a similar design.

    Picasso picasso = new Picasso.Builder(this).downloader(new OkHttpDownloader(getCacheDir(), 250000000)).build(); Picasso.setSingletonInstance(picasso); 

    Instead of getCacheDir() specify the path to the SD card. 250000000 - cache size (250 MB)

    Or do I need to use Picasso once and make it static?

    This is so singleton

    • Ie, after your code, always use the picasso object? Or Picasso Class? - Andro
    • Class, you will specify a new instant in a singleton, after that there is no need to use the object. To better understand this, re-read about singltons - BORSHEVIK