|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nostra13.universalimageloader.core.DefaultConfigurationFactory
public class DefaultConfigurationFactory
Factory for providing of default options for configuration
Constructor Summary | |
---|---|
DefaultConfigurationFactory()
|
Method Summary | |
---|---|
static BitmapDisplayer |
createBitmapDisplayer()
Creates default implementation of BitmapDisplayer - SimpleBitmapDisplayer |
static DiscCacheAware |
createDiscCache(android.content.Context context,
FileNameGenerator discCacheFileNameGenerator,
int discCacheSize,
int discCacheFileCount)
Creates default implementation of DiscCacheAware depends on incoming parameters |
static Executor |
createExecutor(int threadPoolSize,
int threadPriority,
QueueProcessingType tasksProcessingType)
Creates default implementation of task executor |
static FileNameGenerator |
createFileNameGenerator()
Creates default implementation of FileNameGenerator |
static ImageDecoder |
createImageDecoder(boolean loggingEnabled)
Creates default implementation of ImageDecoder - BaseImageDecoder |
static ImageDownloader |
createImageDownloader(android.content.Context context)
Creates default implementation of ImageDownloader - BaseImageDownloader |
static MemoryCacheAware<String,android.graphics.Bitmap> |
createMemoryCache(int memoryCacheSize)
Creates default implementation of MemoryCacheAware - LruMemoryCache Default cache size = 1/8 of available app memory. |
static DiscCacheAware |
createReserveDiscCache(File cacheDir)
Creates reserve disc cache which will be used if primary disc cache becomes unavailable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultConfigurationFactory()
Method Detail |
---|
public static Executor createExecutor(int threadPoolSize, int threadPriority, QueueProcessingType tasksProcessingType)
public static FileNameGenerator createFileNameGenerator()
public static DiscCacheAware createDiscCache(android.content.Context context, FileNameGenerator discCacheFileNameGenerator, int discCacheSize, int discCacheFileCount)
DiscCacheAware
depends on incoming parameters
public static DiscCacheAware createReserveDiscCache(File cacheDir)
public static MemoryCacheAware<String,android.graphics.Bitmap> createMemoryCache(int memoryCacheSize)
MemoryCacheAware
- LruMemoryCache
public static ImageDownloader createImageDownloader(android.content.Context context)
ImageDownloader
- BaseImageDownloader
public static ImageDecoder createImageDecoder(boolean loggingEnabled)
ImageDecoder
- BaseImageDecoder
public static BitmapDisplayer createBitmapDisplayer()
BitmapDisplayer
- SimpleBitmapDisplayer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |