public class

PostprocessorProducer

extends Object
implements Producer<T>
java.lang.Object
   ↳ com.facebook.imagepipeline.producers.PostprocessorProducer

Class Overview

Runs a caller-supplied post-processor object.

Post-processors are only supported for static bitmaps. If the request is for an animated image, the post-processor step will be skipped without warning.

Summary

Constants
String NAME
Public Constructors
PostprocessorProducer(Producer<CloseableReference<CloseableImage>> inputProducer, PlatformBitmapFactory platformBitmapFactory, Executor executor)
Public Methods
void produceResults(Consumer<CloseableReference<CloseableImage>> consumer, ProducerContext context)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.imagepipeline.producers.Producer

Constants

public static final String NAME

Constant Value: "PostprocessorProducer"

Public Constructors

public PostprocessorProducer (Producer<CloseableReference<CloseableImage>> inputProducer, PlatformBitmapFactory platformBitmapFactory, Executor executor)

Public Methods

public void produceResults (Consumer<CloseableReference<CloseableImage>> consumer, ProducerContext context)