| Modifier and Type | Method and Description |
|---|---|
BitmapLruCache.Builder |
BitmapLruCache.Builder.setDiskCacheEnabled(boolean enabled)
Set whether the Disk Cache should be enabled.
|
BitmapLruCache.Builder |
BitmapLruCache.Builder.setDiskCacheLocation(File location)
Set the Disk Cache location.
|
BitmapLruCache.Builder |
BitmapLruCache.Builder.setDiskCacheMaxSize(long maxSize)
Set the maximum number of bytes the Disk Cache should use to store values.
|
BitmapLruCache.Builder |
BitmapLruCache.Builder.setMemoryCacheEnabled(boolean enabled)
Set whether the Memory Cache should be enabled.
|
BitmapLruCache.Builder |
BitmapLruCache.Builder.setMemoryCacheMaxSize(int size)
Set the maximum number of bytes the Memory Cache should use to store values.
|
BitmapLruCache.Builder |
BitmapLruCache.Builder.setMemoryCacheMaxSizeUsingHeapSize()
Sets the Memory Cache maximum size to be the default value of % of heap size.
|
BitmapLruCache.Builder |
BitmapLruCache.Builder.setMemoryCacheMaxSizeUsingHeapSize(float percentageOfHeap)
Sets the Memory Cache maximum size to be the given percentage of heap size.
|
BitmapLruCache.Builder |
BitmapLruCache.Builder.setRecyclePolicy(BitmapLruCache.RecyclePolicy recyclePolicy)
Sets the recycle policy.
|
Copyright © 2013. All Rights Reserved.