Skip to content

Warpath/PhotoPicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhotoPicker

  private static final int REQ_CHOOSE_IMAGES = 1;

  PhotoPicker.from(MainActivity.this)
            .builder()
            .maxSelectable(9)
            .forResult(REQ_CHOOSE_IMAGES);

  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
      super.onActivityResult(requestCode, resultCode, data);
      if (resultCode == Activity.RESULT_OK) {
          if (requestCode == REQ_CHOOSE_IMAGES) {
              ArrayList<Image> imageList = (ArrayList<Image>) PhotoPicker.obtainResult(data);  
          }
      }
  }

About

图片选择器,可以简单定制样式

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages