I'm using NOSTRA's Universal Image Loader library and I have caching in memory enabled. It seems that the bitmaps are cached using the URI set in the displayImage() method as the key. As a workaround I created another HashMap that contains the URIs for the images, with a unique id associated with it as the key. The reason for that is the id value is also used to load data in other places, so that value is unique for each image.
So is there a way to change the key for the cached bitmap to something other than the URI?
Bitmap are cached in memory cache by key pattern [imageUrl]_[width]x[height]. There is no way to change this pattern in current lib version (1.7.0).