public void setIsIntermediateResultExpected(boolean isIntermediateResultExpected) {
    BaseProducerContext.callOnIsIntermediateResultExpectedChanged(
        setIsIntermediateResultExpectedNoCallbacks(isIntermediateResultExpected));
  }
Set whether intermediate result is expected or not

@param isIntermediateResultExpected
imagepipeline/src/main/java/com/facebook/imagepipeline/producers/SettableProducerContext.java