public class

SettableProducerContext

extends BaseProducerContext
java.lang.Object
   ↳ com.facebook.imagepipeline.producers.BaseProducerContext
     ↳ com.facebook.imagepipeline.producers.SettableProducerContext

Class Overview

ProducerContext that allows the client to change its internal state.

Summary

[Expand]
Inherited Fields
From class com.facebook.imagepipeline.producers.BaseProducerContext
Public Constructors
SettableProducerContext(ProducerContext context)
SettableProducerContext(ImageRequest overrideRequest, ProducerContext context)
SettableProducerContext(ImageRequest imageRequest, String id, ProducerListener2 producerListener, Object callerContext, ImageRequest.RequestLevel lowestPermittedRequestLevel, boolean isPrefetch, boolean isIntermediateResultExpected, Priority priority, ImagePipelineConfig imagePipelineConfig)
SettableProducerContext(ImageRequest imageRequest, String id, String uiComponentId, ProducerListener2 producerListener, Object callerContext, ImageRequest.RequestLevel lowestPermittedRequestLevel, boolean isPrefetch, boolean isIntermediateResultExpected, Priority priority, ImagePipelineConfig imagePipelineConfig)
Public Methods
void setIsIntermediateResultExpected(boolean isIntermediateResultExpected)
Set whether intermediate result is expected or not
void setIsPrefetch(boolean isPrefetch)
Set whether the request is a prefetch request or not.
void setPriority(Priority priority)
Set the priority of the request
[Expand]
Inherited Methods
From class com.facebook.imagepipeline.producers.BaseProducerContext
From class java.lang.Object
From interface com.facebook.imagepipeline.producers.ProducerContext

Public Constructors

public SettableProducerContext (ProducerContext context)

public SettableProducerContext (ImageRequest overrideRequest, ProducerContext context)

public SettableProducerContext (ImageRequest imageRequest, String id, ProducerListener2 producerListener, Object callerContext, ImageRequest.RequestLevel lowestPermittedRequestLevel, boolean isPrefetch, boolean isIntermediateResultExpected, Priority priority, ImagePipelineConfig imagePipelineConfig)

public SettableProducerContext (ImageRequest imageRequest, String id, String uiComponentId, ProducerListener2 producerListener, Object callerContext, ImageRequest.RequestLevel lowestPermittedRequestLevel, boolean isPrefetch, boolean isIntermediateResultExpected, Priority priority, ImagePipelineConfig imagePipelineConfig)

Public Methods

public void setIsIntermediateResultExpected (boolean isIntermediateResultExpected)

Set whether intermediate result is expected or not

public void setIsPrefetch (boolean isPrefetch)

Set whether the request is a prefetch request or not.

public void setPriority (Priority priority)

Set the priority of the request