All Versions
15
Latest Version
Avg Release Cycle
88 days
Latest Release
829 days ago

Changelog History
Page 2

  • v1.13.0 Changes

    July 21, 2018
    • ๐Ÿ‘ Back arrow support RTL
    • โšก๏ธ Update to AGP 3.1 and Gradle 4.4
    • โž• Add Arabic translation
    • ๐Ÿ‘ Better permissions handling for cameraOnly mode
    • ๐Ÿ‘ Basic video support
    • Set language programmatically
    • Some internal changes
  • v1.12.0 Changes

    January 17, 2018

    BREAKING CHANGES!!!

    • [New] Return Mode API returnMode

      Define the ImagePicker return behaviour

      1. ReturnMode.NONE -> When image is picked, ImagePickerActivity will not dismissed even in Single Mode
      2. ReturnMode.ALL -> When image is picked dismiss then deliver result
      3. ReturnMode.CAMERA_ONLY -> When image is picked with Camera, dismiss then deliver the result
      4. ReturnMode.GALLERY_ONLY -> Same as CAMERA_ONLY but with Gallery

    So if you want to mimic the setReturnAfterFirst behavior, all you have to do is

    ImagePicker.create(activity).setReturnMode(ReturnMode.ALL).start()
    
    • setReturnAfterFirst is now obsolete
    • [New] set toolbar arrow color with toolbarArrowColor(int color)
    • ๐Ÿ“‡ Rename ImagePicker methods
      • folderTitle -> toolbarFolderTitle
      • imageTitle -> toolbarImageTitle
    • โž• Add capability to start without a request code

    So instead of this

    ImagePicker.cameraOnly().start(RC_CAMERA /* int */);
    

    Now you can do this

    ImagePicker.cameraOnly().start()
    

    BUT, you have to handle the result with the helper method from ImagePicker

     @Overrideprotected void onActivityResult(int requestCode, final int resultCode, Intent data) { if (ImagePicker.shouldHandle(requestCode, resultCode, data)) { // do your things } super.onActivityResult(requestCode, resultCode, data); }
    

    You can still use the usual result check if you define the request code by yourself.

    • โž• Add convenience method ImagePicker.getFirstImageOrNull(Intent data) to fetch only first image from the result or return null
  • v1.11.1

    January 12, 2018
  • v1.11.0 Changes

    January 11, 2018

    Now you can exclude image from being shown in the picker

    ImagePicker.create(this) .exclude(image) // exclude everything in `List\<Image\>` .excludeFiles(files) // or you can exclude everything in `List\<File\>` .start(RQ)
    
  • v1.11.0-0

    January 12, 2018