Skip to content

Commit

Permalink
Update ImageFetcher.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mkihellas committed Mar 13, 2018
1 parent aedefdd commit 61c18fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/Library/src/ImageFetcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public BitmapFetcherTask getBitmapDownloaderTask() {
private final HashMap<Integer, Bitmap> sHardBitmapCache = new LinkedHashMap<Integer, Bitmap>(
HARD_CACHE_CAPACITY / 2, 0.75f, true) {
@Override
protected boolean removeEldestEntry(Map.Entry<Integer, Bitmap> eldest) {
protected boolean removeEldestEntry(HashMap.Entry<Integer, Bitmap> eldest) {
if (size() > HARD_CACHE_CAPACITY) {
// Entries push-out of hard reference cache are transferred to
// soft reference cache
Expand Down

0 comments on commit 61c18fc

Please sign in to comment.