Skip to content Skip to sidebar Skip to footer

Caching In Picasso

After reading several documentations, i want to clear some points Reference: this For Picasso to cache my image into memory, do i have to enable 'Cache-control' header in my respo

Solution 1:

In Picasso Caching is enabled by default.

and other settings you can do by this function memoryPolicy(,)

Picasso  
    .with(context)
    .load(UsageExampleListViewAdapter.eatFoodyImages[1])
    .memoryPolicy(MemoryPolicy.NO_CACHE, MemoryPolicy.NO_STORE)
.into(imageViewFromDisk);

Post a Comment for "Caching In Picasso"