Looking for a simple open source non-copyleft caching for Android (SDK 7+) class.
The purpose is primary to store the Bitmap
s fetched asynchronously (so i don't need this functionality to be included in the cache class).
I was using a weakList for this purpose, that was naturally a bad solution, with Guava cache that is a little better but still not fine.
It's preferred that the cache is able to store any serializable Object
, not just a Bitmap
, and that i could easily purge the objects of certain tag used while the object is added to cache.
The best option would be to get the filesystem cache like wrapping the sqlite database.
It would be great if the cache would be cleared by Settings >Manage Application > Clear Cache
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…