Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thest1/LazyList
Lazy load of images in Android
https://github.com/thest1/LazyList
Last synced: 2 months ago
JSON representation
Lazy load of images in Android
- Host: GitHub
- URL: https://github.com/thest1/LazyList
- Owner: thest1
- License: mit
- Created: 2011-05-29T05:52:37.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2018-10-10T12:11:38.000Z (over 6 years ago)
- Last Synced: 2024-07-01T10:59:47.583Z (7 months ago)
- Language: Java
- Homepage: http://stackoverflow.com/questions/541966/android-how-do-i-do-a-lazy-load-of-images-in-listview/3068012#3068012
- Size: 357 KB
- Stars: 1,196
- Watchers: 97
- Forks: 502
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-android-ui - https://github.com/thest1/LazyList
- awesome-android-ui - https://github.com/thest1/LazyList
README
# LazyList
A simple library to display images in Android ListView. Images are being downloaded asynchronously in the background. Images are being cached on SD card and in memory. Can also be used for GridView and just to display images into an ImageView.
Originally published here.
## Basic Usage
``` java
ImageLoader imageLoader=new ImageLoader(context);
...
imageLoader.DisplayImage(url, imageView);
```
Don't forget to add the following permissions to your AndroidManifest.xml:
Please create only one instance of ImageLoader and reuse it all around your application. This way image caching will be much more efficient.## License
LazyList is released under the MIT license.