@ Override protected int sizeOf ( String key , Bitmap value ) { final int bitmapSize = BitmapLruPool . getBitmapSize ( value ) ; return bitmapSize == 0 ? 1 : bitmapSize ; }
Measure item size in kilobytes rather than units which is more practical for a bitmap cache