Library for async image loading and caching on Android
Java XSLT
Latest commit f923995 Feb 18, 2015 @blundell blundell Update README.md
Failed to load latest commit information.
core fix wrong package name Feb 6, 2015
gradle/wrapper remove dependency from core (CacheManager, NetworkManager) Jan 27, 2015
team-props Add pxfetcher modules without deleting existing imgloader code Oct 1, 2014
.gitignore Adds DS_Store (OSX thing) to gitignore. Nov 27, 2013
LICENSE.txt
README.md
build.gradle
gradle.properties upgrade tools Jan 27, 2015
gradlew Convert to Gradle build Oct 25, 2013
gradlew.bat Convert to Gradle build Oct 25, 2013
settings.gradle removing the demo project as it is demoing the legacy imageloader Nov 19, 2014

README.md

Novoda image-loader is now deprecated and unmaintained.

We will soon post here our recommendation for image loading in Android.

Description

image-loader is a simple library that makes it easy to download, display and cache remote images in Android apps. Image download happens off the UI thread and the images are cached with a two-level in-memory/SD card cache.

Adding to your project

To start using this library, add these lines to the build.gradle of your project:

repositories {
    maven {
        credentials {
            username 'BINTRAY_USERNAME'
            password 'BINTRAY_KEY'
        }
        url 'http://dl.bintray.com/novoda/maven-private'
    }
}

depedencies {
  compile 'com.novoda:image-loader:2.0-BETA'
}

Simple usage

Create the ImageManager. This can be built with a variety of parameters, check out the example project for more details

LoaderSettings settings = new SettingsBuilder().build(context);
ImageManager imageManager = new ImageManager(context, settings);

Create a tag to wrap the url of a image and set it on the ImageView which will hold the image

ImageTagFactory tagFactory = ImageTagFactory.newInstance();
tagFactory.setHeight(300);
tagFactory.setWidth(300);
ImageTag tag = tagFactory.build("www.myimage.com/foo.png", context);
imageView.setTag(tag);

Use the ImageManager to get an instance of the ImageLoader and provide an ImageView with a tag set

imageManager.getLoader().load(imageView);

Links

Here are a list of useful links:

  • We always welcome people to contribute new features or bug fixes, here is how
  • If you have a problem check the Issues Page first to see if we are working on it
  • For further usage or to delve more deeply checkout the Project Wiki
  • Looking for community help, browse the already asked Stack Overflow Questions or use the tag: support-image-loader when posting a new question