-
Notifications
You must be signed in to change notification settings - Fork 16
Features of the Image Utilities
###Simple Interface
The most basic image loading calls can be made with just an ImageView and a URL.
###Full disk and memory cache implementation
Repeated requests for the same images take far less time.
###Multithreaded
Disk and network access is automatically off the UI thread, so your UI remains responsive even when loading a large number of images.
###Allows for Activity/Fragment Garbage Collection
Pending image requests do not retain references to destroyed Activities and Fragments. These references are rapidly released, improving the performance of your apps.
###Auto Scaling
Images are auto-scaled to reduce memory consumption and minimize Out of Memory errors. This happens automatically, and can be heavily customized by the developer.
###Full ListView/Adapter Support
Only the most recently requested image for an ImageView is processed by the image system. This means that multiple calls to loadImage(...) for the same ImageView will always display the correct image, making it adapter safe.
###Loads File System Images
Images from the file system or from resources can be loaded through the image utilities. File system images requests will also be cached in memory for faster repeated access, and will receive all the other memory and performance benefits offered by the system.
###Placeholder Image Support
Automatic insertion of placeholder images, or "failed to load" images in the event of an error.
###Animations
Supports custom animations when loading bitmaps to the view. When a bitmap is successfully retrieved, the ImageLoader can pass back the ImageView and Bitmap from your request, allowing you to easily determine if and when your images should animate.
###Precaching
Includes a simple precaching system that speeds up the performance of adapters when implemented.
And more!