Skip to content

Commit

Permalink
-disabilitata la cache su ram intanto(ho paura di crash su device con
Browse files Browse the repository at this point in the history
poca ram) #56
  • Loading branch information
ciopper90 committed Apr 15, 2014
1 parent a58b123 commit 99d77bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/it/gaiacri/mobile/Utils/Cache.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public Cache(Activity context){

BitmapLruCache.Builder builder = new BitmapLruCache.Builder(context);
//abilita il cache su ram
builder.setMemoryCacheEnabled(true).setMemoryCacheMaxSizeUsingHeapSize();
//builder.setMemoryCacheEnabled(true).setMemoryCacheMaxSizeUsingHeapSize();
//abilita il cache su disco
builder.setDiskCacheEnabled(true).setDiskCacheLocation(cacheLocation);

Expand Down

0 comments on commit 99d77bf

Please sign in to comment.