Android Open Source - UniversalImagePick Image Bucket






From Project

Back to project page UniversalImagePick.

License

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.

Java Source Code

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 + "]";
  }
}




Java Source Code List

com.luffyjet.universalimagepick.App.java
com.luffyjet.universalimagepick.Constants.java
com.luffyjet.universalimagepick.MainActivity.java
com.luffyjet.universalimagepick.Test.java
com.luffyjet.universalimagepick.adapter.BucketAdapter.java
com.luffyjet.universalimagepick.adapter.GalleryAdapter.java
com.luffyjet.universalimagepick.adapter.PickGridAdapter.java
com.luffyjet.universalimagepick.adapter.PreviewAdapter.java
com.luffyjet.universalimagepick.adapter.ResultAdapter.java
com.luffyjet.universalimagepick.model.ImageBucket.java
com.luffyjet.universalimagepick.model.Image.java
com.luffyjet.universalimagepick.model.ImagesHelper.java
com.luffyjet.universalimagepick.model.Thumbnail.java
com.luffyjet.universalimagepick.ui.BaseActivity.java
com.luffyjet.universalimagepick.ui.GalleryActivity.java
com.luffyjet.universalimagepick.ui.PickActivity.java
com.luffyjet.universalimagepick.utils.LogUtil.java
com.luffyjet.universalimagepick.widget.CropImageView.java
com.luffyjet.universalimagepick.widget.CustomGridView.java
com.luffyjet.universalimagepick.widget.MulitPointTouchListener.java
com.luffyjet.universalimagepick.widget.ViewfinderView.java