@Override
    protected void onNewResultImpl(
        final @Nullable CloseableReference<CloseableImage> newResult, @Status int status) {
      // ignore intermediate results
      if (isNotLast(status)) {
        return;
      }
      getConsumer().onNewResult(newResult, status);
    }
PostprocessorConsumer wrapper that ignores intermediate results.
imagepipeline/src/main/java/com/facebook/imagepipeline/producers/PostprocessorProducer.java