How to get cache size in Android
I'm using fedor's lazy loading list implementation in my test application where I can clear the cache with a single button click. How can I get the cache size of the loaded images in the listview and clear the cache programmatically? Here is the code for saving the cached images: public ImageLoader(Context context){ //Make the background thead low priority. This way it will not affect the UI performance. photoLoaderThread.setPriority(Thread.NORM_PRIORITY-1); mAssetManager = context.getAssets(); //Find the dir to save cached images if (android.os.Environment.getExternalStorageState().equals