I use LruCache for caching images in my application following the example from the documentation . My application can work starting with the version of Android 1.6, so for LruCache you have to connect the support library. Is it possible to replace LruCache with something to remove the library? Allow you to reduce the size of the APK.
LruCache
. If you look into the inside, you will see that there is no difficulty in porting this, and in implementation from scratch, too, in fact. [1]: grepcode.com/file/repository.grepcode.com/java/ext/… - falstafshrinking
option enabled will give you the same effect in terms of reducing the size of the final apk - deletes all unused classes from thesupport library
, leaving only the used, I meanLruCache
. - falstaf