AndroidImageCache icon indicating copy to clipboard operation
AndroidImageCache copied to clipboard

Can the CacheConfig be made configurable?

Open onyxmueller opened this issue 12 years ago • 1 comments

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.

onyxmueller avatar Apr 11 '13 18:04 onyxmueller

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.

pjakubczyk avatar Apr 12 '13 07:04 pjakubczyk