Vangogh

Project Url: LinLshare/Vangogh
Introduction: A Simple Image Selector for Android, just do the image-selection job.
More: Author   ReportBugs   DemoAPK   
Tags:
android-image selector-

中文版 A Simple Image Selector for Android, just do the image-selection job. You can do anything with your view and let Vangogh handle the data.

ScreenShot1 ScreenShot2 ScreenShot3 ScreenShot4

Don't do

  1. no permission request
  2. no view or activity
  3. no adapter
  4. no image compress

Do

  1. image filter by name, path, size type and count
  2. select image and deselect image

Usage

  1. Init first
Filter filter = new Filter.Builder().mimType(MimeType.JPEG)
                                    .nameRegex(".*wx_camera.*")
                                    .limitCount(3)
                                    .pathContain("/tencent/MicroMsg/WeiXin")
                                    .build();
Vangogh.create(filter).init(this);
  1. Get all album and image to show
List<Album> alba = Vangogh.albumList();
List<Image> imageList = Vangogh.imageList(album);
  1. Toggle select when Image Item click
Vangogh.getInstance().toggleSelect(album, image);
  1. Get selected image when OK
Map<Album, List<Image>> albumListMap = Vangogh.selectedImageMap();
  1. Clear selection
Vangogh.selectNone();

Fuli

In Sample Project, I provide the extra activity and adapter implementation.

Thanks

  1. darsh2/MultipleImageSelect
  2. zhihu/Matisse
Apps
About Me
GitHub: Trinea
Facebook: Dev Tools