java.lang.Object | ||
↳ | com.facebook.imagepipeline.producers.BaseProducerContext | |
↳ | com.facebook.imagepipeline.producers.SettableProducerContext |
ProducerContext that allows the client to change its internal state.
[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
|
Set whether intermediate result is expected or not
Set whether the request is a prefetch request or not.