Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is DiskCache in android, is it different from Physical harddisk space?

Hi iam using a library called Picasso in android for displaying the images in a Recycer view, its saying that it will cace the images in diskcache, what is diskcache? can we see what files are stored in it programmatically?

like image 432
Murali Avatar asked Jan 20 '26 19:01

Murali


1 Answers

AFAIK, there's no much different in Memory Usage. However, if you using DiskCache, that means your cached images will be removed automatically when your app is uninstalled and no other app can touch your DiskCache images. With your Sdcard space, any1 can read/write into it.

like image 65
Kingfisher Phuoc Avatar answered Jan 23 '26 11:01

Kingfisher Phuoc