I'm loading images in gridView from DiskLruCache.
The DiskLruCache.get() loop last one was always return null (but it was).
for (int i = 0; i < mInfoArray.size(); i++) {
String imageKey = String.valueOf(mInfoArray.get(i).rs_id);
Bitmap cacheBmp = mDiskCache.getBitmapFromDiskCache(imageKey);
- added diskcache key(ex.)
- 2130837620.0
- 2130837621.0
- journal
The last "2130837621.0" cacheBmp value is always "null".
If it's not a bug but my mistake maybe someone would help me with issue?
Thanks!
0 comments:
Post a Comment