@Override
  public synchronized void onNewResult(@Nullable T newResult, @Status int status) {
    if (mIsFinished) {
      return;
    }
    mIsFinished = isLast(status);
    try {
      onNewResultImpl(newResult, status);
    } catch (Exception e) {
      onUnhandledException(e);
    }
  }
Creates a simple status value which only identifies whether this is the last result.
imagepipeline/src/main/java/com/facebook/imagepipeline/producers/BaseConsumer.java