void onSetImageUriAsyncComplete(BitmapLoadingWorkerTask.Result result) {

    mBitmapLoadingWorkerTask = null;
    setProgressBarVisibility();

    if (result.error == null) {
      mInitialDegreesRotated = result.degreesRotated;
      setBitmap(result.bitmap, 0, result.uri, result.loadSampleSize, result.degreesRotated);
    }

    OnSetImageUriCompleteListener listener = mOnSetImageUriCompleteListener;
    if (listener != null) {
      listener.onSetImageUriComplete(this, result.uri, result.error);
    }
  }
On complete of the async bitmap loading by {@link #setImageUriAsync(Uri)} set the result to the
widget if still relevant and call listener if set.

@param result the result of bitmap loading
core/src/main/java/com/theartofdev/edmodo/cropper/CropImageView.java