public class

ImagePipelineConfig

extends Object
java.lang.Object
   ↳ com.facebook.imagepipeline.core.ImagePipelineConfig

Class Overview

Master configuration class for the image pipeline library. To use: ImagePipelineConfig config = ImagePipelineConfig.newBuilder() .setXXX(xxx) .setYYY(yyy) .build(); ImagePipelineFactory factory = new ImagePipelineFactory(config); ImagePipeline pipeline = factory.newPipeline();

This should only be done once per process.

Public Methods

public Supplier<MemoryCacheParams> getBitmapMemoryCacheParamsSupplier ()

public CacheKeyFactory getCacheKeyFactory ()

public Context getContext ()

public Supplier<MemoryCacheParams> getEncodedMemoryCacheParamsSupplier ()

public ExecutorSupplier getExecutorSupplier ()

public ImageCacheStatsTracker getImageCacheStatsTracker ()

public ImageDecoder getImageDecoder ()

public Supplier<Boolean> getIsPrefetchEnabledSupplier ()

public DiskCacheConfig getMainDiskCacheConfig ()

public MemoryTrimmableRegistry getMemoryTrimmableRegistry ()

public NetworkFetcher getNetworkFetcher ()

public PlatformBitmapFactory getPlatformBitmapFactory ()

public PoolFactory getPoolFactory ()

public ProgressiveJpegConfig getProgressiveJpegConfig ()

public Set<RequestListener> getRequestListeners ()

public DiskCacheConfig getSmallImageDiskCacheConfig ()

public boolean isResizeAndRotateEnabledForNetwork ()

public static ImagePipelineConfig.Builder newBuilder (Context context)