core/src/in/srain/cube/image/ImageLoader.java
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();
                }
                if (DEBUG) {
                    CLog.d(LOG_TAG, "%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();
                }
                if (DEBUG) {
                    CLog.d(LOG_TAG, "%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 ( ) ; } if ( DEBUG ) { CLog . d ( LOG_TAG , "%s previous work is cancelled." , imageTask ) ; } } } if ( ! imageTask . stillHasRelatedImageView ( ) ) { imageTask . tryToRecycle ( ) ; } }
Detach the ImageView from the ImageTask.

@param imageTask
@param imageView
Detach the ImageView from the ImageTask .