Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajasharan/albumview
An android widget to display huge number of images from file system. All images are loaded in the background thread as needed. At most only 2 bitmaps are held in memory and recycled when not showing.
https://github.com/rajasharan/albumview
Last synced: 3 days ago
JSON representation
An android widget to display huge number of images from file system. All images are loaded in the background thread as needed. At most only 2 bitmaps are held in memory and recycled when not showing.
- Host: GitHub
- URL: https://github.com/rajasharan/albumview
- Owner: rajasharan
- License: mit
- Created: 2015-09-27T10:18:49.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-04T05:58:22.000Z (about 9 years ago)
- Last Synced: 2023-03-12T06:04:01.868Z (over 1 year ago)
- Language: Java
- Size: 10.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Android AlbumView
An android widget to display huge number of images from file system.All images are loaded in the background thread as needed. At most only 2 bitmaps are held in memory and recycled when not showing.
## Demo
![](/screencast.gif)## Usage
```xml
```
#### Add image paths via code
```java
String img1 = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES) + "/test1.jpg";
String img2 = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES) + "/Screenshots/test2.png";
String cameraDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM) + "/Camera";AlbumView albumView = (AlbumView) findViewById(R.id.album);
albumView.addImage(img1)
.addImage(img2)
.addImages(cameraDir)
.show();
```## [License](/LICENSE)
The MIT License (MIT)