Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Spring-Xu/Android-ImageFileCache

Open more actions menu

Repository files navigation

Android-ImageFileCache

Android image files cache in local SDCard, and reuse image. This project used LRU cache.

#Contact me

#How to use this API?

  • Initialize the LRUFileCache's config
//config the file cache
LRUFileCache.getInstance().setFileLoadOptions(new FileCacheOptions.Builder()
        .setMaxFileCount(5)
        .setMaxCacheSize(5 * 1024 * 1024)
        .setIsUseFileCache(true)
        .setCacheRootPath(cachePath)
        .builder());
  • Show the image demo
ImageHelper.getInstance().showImage(hodler.imageView, getItem(position),R.drawable.dd);

About

Android image files cache in local SDCard, and reuse image. This project used LRU cache.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.