Back to project page UniversalImagePick.
The source code is released under:
Apache License
If you think the Android project UniversalImagePick listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.luffyjet.universalimagepick.model; // w ww.j ava 2s. c om import java.util.ArrayList; /** * ???????? * a image bucket entity * @author Luffyjet * @version 1.0.0 * @since 2014-9-15 {@link https://github.com/luffyjet} */ public class ImageBucket { /** * image count in this bucket */ public int imageCount; /** * the id of this bucket */ public String bucketId; /** * the name of this bucket */ public String bucketName; /** * the image list in this bucket */ public ArrayList<Image> imageList = new ArrayList<Image>(); /** * add a image to imagelist * @param image */ public void addImage(Image image){ if (null!=image) { imageList.add(image); ++imageCount; } } @Override public String toString() { return "ImageBucket [imageCount=" + imageCount + ", bucketId=" + bucketId + ", bucketName=" + bucketName + ", imageList=" + imageList + "]"; } }