When i am using the sample project of Picasso given at their Github page,the images are getting cached. Means once they are loaded,they appear even when i turn off my internet connection.
But when i use the same method to download the image from the same URL in a different project, the images doesnt get cached. I am also using Android 4.2.2(ICS+ is required for disc cache). So what could be the problem here?
Here is the simple code that they have used and i am using
Picasso.with(context) //
.load(url) //
.placeholder(R.drawable.placeholder) //
.error(R.drawable.error) //
.fit() //
.into(view);