AndroidImageCache
AndroidImageCache copied to clipboard
Can the CacheConfig be made configurable?
Can the options within CacheConfig be made configurable? Or is there another way of changing the options desired?
The members within CacheConfig are not accessible outside of the package, they do not have public setters, and the class does not provide a constructor for passing in parameters. It would be nice to be able to configure the CacheConfig options with any of these methods.
Hi thanks for pointing me this up.
Actually you're right - I just forgot to change make the change easily because within default value the library works fine. Anyway I'm think that a good option would be a cache.properties file in res/raw (or anywhere else) which could contain non-default values.
By this time the simplest solution is to modify the sources. Sorry for that.