public final class ImageLoaderConfiguration extends Object
ImageLoader
ImageLoader
,
MemoryCache
,
DiskCache
,
DisplayImageOptions
,
ImageDownloader
,
FileNameGenerator
限定符和类型 | 类和说明 |
---|---|
static class |
ImageLoaderConfiguration.Builder
Builder for
ImageLoaderConfiguration |
限定符和类型 | 方法和说明 |
---|---|
static ImageLoaderConfiguration |
createDefault(android.content.Context context)
Creates default configuration for
ImageLoader Default values: maxImageWidthForMemoryCache = device's screen width maxImageHeightForMemoryCache = device's screen height maxImageWidthForDikcCache = unlimited maxImageHeightForDiskCache = unlimited threadPoolSize = this
threadPriority = this
allow to cache different sizes of image in memory
memoryCache = DefaultConfigurationFactory.createMemoryCache(Context, int)
diskCache = UnlimitedDiskCache
imageDownloader = DefaultConfigurationFactory.createImageDownloader(Context)
imageDecoder = DefaultConfigurationFactory.createImageDecoder(boolean)
diskCacheFileNameGenerator = DefaultConfigurationFactory.createFileNameGenerator()
defaultDisplayImageOptions = Simple options
tasksProcessingOrder = QueueProcessingType.FIFO
detailed logging disabled
|
public static ImageLoaderConfiguration createDefault(android.content.Context context)
ImageLoader
this
this
DefaultConfigurationFactory.createMemoryCache(Context, int)
UnlimitedDiskCache
DefaultConfigurationFactory.createImageDownloader(Context)
DefaultConfigurationFactory.createImageDecoder(boolean)
DefaultConfigurationFactory.createFileNameGenerator()
Simple options
QueueProcessingType.FIFO