源码简介:该版本实现了如下功能: 1、从相册选择图片,对图片进行了缓存处理,选择图片的时候,图片不会出现OOM 2、加入了拍照功能 3、加入了图库功能,可以让你的图片滚动起来了,如果你想使用该功能作为删除的话,只需要传递过去isdel = true 即可使用删除模式。
源码效果:
源码片段:
- package org.fireking.app.imagelib.entity;
- import java.util.ArrayList;
- import java.util.List;
- import java.util.Set;
- public class AlbumBean {
- public String folderName;
- public int count;
- public List<imagebean> sets = new ArrayList<imagebean>();
- public String thumbnail;
- public AlbumBean() {
- super();
- }
- public AlbumBean(String folderName, int count, List<imagebean> sets,
- String thumbnail) {
- super();
- this.folderName = folderName;
- this.count = count;
- this.sets = sets;
- this.thumbnail = thumbnail;
- }
- @Override
- public String toString() {
- return "AlbumBean [folderName=" + folderName + ", count=" + count
- + ", sets=" + sets + ", thumbnail=" + thumbnail + "]";
- }
- }
- </imagebean></imagebean></imagebean>