public void detachImageViewFromImageTask(ImageTask imageTask,CubeImageView imageView){
  imageTask.removeImageView(imageView);
  if (imageTask.isLoading()) {
    if (!imageTask.isPreLoad() && !imageTask.stillHasRelatedImageView()) {
      LoadImageTask task=mLoadWorkList.get(imageTask.getIdentityKey());
      if (task != null) {
        task.cancel(true);
      }
      if (DEBUG) {
        Log.d(Log_TAG,String.format("%s previous work is cancelled.",imageTask));
      }
    }
  }
  if (!imageTask.stillHasRelatedImageView()) {
    imageTask.tryToRecycle();
  }
}

public void detachImageViewFromImageTask ( ImageTask imageTask , CubeImageView imageView ) { imageTask . removeImageView ( imageView ) ; if ( imageTask . isLoading ( ) ) { if ( ! imageTask . isPreLoad ( ) && ! imageTask . stillHasRelatedImageView ( ) ) { LoadImageTask task = mLoadWorkList . get ( imageTask . getIdentityKey ( ) ) ; if ( task != null ) { task . cancel ( true ) ; } if ( DEBUG ) { Log . d ( Log_TAG , String . format ( "%s previous work is cancelled." , imageTask ) ) ; } } } if ( ! imageTask . stillHasRelatedImageView ( ) ) { imageTask . tryToRecycle ( ) ; } }
detach the imageview from the imagetask .
