SelectImage
使用该库还需要引用以下库
Android-utils
compile 'com.google.code.gson:gson:2.8.2'
compile 'com.github.bumptech.glide:glide:4.3.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.3.1'
compile 'com.github.chrisbanes:PhotoView:2.1.3'
添加glide时使用maven { url 'https://maven.google.com' }
SelectImageActivity选择图片
ARG_RESULT返回的结果
ARG_SELECT_COUNT可选择的图片总数
PhotoViewActivity图片浏览
ARG_PHOTOS图片路径
ARG_CURRENT_INDEX查看的图片下标
CaptureActivity拍摄图片
ARG_RESULT返回的结果
ARG_FILE_PATH保存目录可以为空
CropActivity裁剪图片
ARG_RESULT返回的结果
ARG_CROP_IMG被裁剪的图片路径
ARG_ASPECT_X裁剪框比例X
ARG_ASPECT_Y裁剪框比例Y
ARG_OUTPUT_X输出图片X
ARG_OUTPUT_Y输出图片Y
ARG_OUTPUT_IMG保存目录可以为空