I am very new to Android development.
I am running into issues getting the correct bitmap from my LruBitmapCache. I use the UUID to generate a unique Id, I don't use a URL because I am generating the bitmap on a canvas. (I'm copying getDrawingCache()
from my view to a new bitmap (using copy) then storing the copy into the cache).
For some reason after I store a bitmap, when I access it, it ends up being a bitmap for another id ... this happens sometimes. Any ideas?
I use a currentIndex to track which position I am at in the cachedKeys Array (I want to sequentially save and navigate through the bitamp on a canvas). I think I'm updating the entry in the cache wrong...