Package com.mobwith.imgmodule.load.engine.cache
See: Description
-
Interface Summary Interface Description Factory An interface for lazily creating a disk cache. Writer An interface to actually write data to a key in the disk cache. DiskCache An interface for writing to and reading from a disk cache. CacheDirectoryGetter Interface called out of UI thread to get the cache folder. ResourceRemovedListener An interface that will be called whenever a bitmap is removed from the cache. MemoryCache An interface for adding and removing resources from an in memory cache. -
Class Summary Class Description Factory Default factory for DiskCacheAdapter. DiskCacheAdapter A simple class that returns null for all gets and ignores all writes. DiskLruCacheFactory Creates an com.mobwith.imgmodule.disklrucache.DiskLruCache based disk cache in the specified disk cache directory. DiskLruCacheWrapper The default DiskCache implementation. ExternalCacheDiskCacheFactory Creates an com.mobwith.imgmodule.disklrucache.DiskLruCache based disk cache in the external disk cache directory. ExternalPreferredCacheDiskCacheFactory Creates an com.mobwith.imgmodule.disklrucache.DiskLruCache based disk cache in the external disk cache directory, which falls back to the internal disk cache if no external storage is available. InternalCacheDiskCacheFactory Creates an com.mobwith.imgmodule.disklrucache.DiskLruCache based disk cache in the internal disk cache directory. LruResourceCache An LRU in memory cache for com.mobwith.imgmodule.load.engine.Resources. MemoryCacheAdapter A simple class that ignores all puts and returns null for all gets. Builder Constructs an MemorySizeCalculator with reasonable defaults that can be optionallyoverridden. MemorySizeCalculator A calculator that tries to intelligently determine cache sizes for a given device based on some constants and the devices screen density, width, and height. SafeKeyGenerator A class that generates and caches safe and unique string file names from s.