public void clear() {
        synchronized (imageCacheMutex) {
            imageCache.clear();
            imageCacheListeners.clear();
            imageCacheDisposable.clear();
        }
    }
set the code BEFORE starting to use the imageloader
main/src/main/java/cgeo/geocaching/utils/ImageLoader.java