We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
private PictureConfig.OnSelectResultCallback resultCallback = new PictureConfig.OnSelectResultCallback() {
@OverRide
public void onSelectSuccess(List< LocalMedia> resultList) { if (media.isCompressed()){ // 注意:如果压缩过,在上传的时候,取 media.getCompressPath(); // 压缩图compressPath } else { // 注意:没有压缩过,在上传的时候,取 media.getPath(); // 原图path } else{
// 注意:如果media.getCatPath();不为空的话 就代表裁剪的图片,上传时可取,但是如果又压缩过,则取最终压缩过的compressPath } selectMedia = resultList; if (selectMedia != null) { adapter.setList(selectMedia); adapter.notifyDataSetChanged(); } }
};
The text was updated successfully, but these errors were encountered:
No branches or pull requests
private PictureConfig.OnSelectResultCallback resultCallback = new PictureConfig.OnSelectResultCallback() {
@OverRide
public void onSelectSuccess(List< LocalMedia> resultList) {
if (media.isCompressed()){
// 注意:如果压缩过,在上传的时候,取 media.getCompressPath(); // 压缩图compressPath
} else {
// 注意:没有压缩过,在上传的时候,取 media.getPath(); // 原图path
} else{
};
The text was updated successfully, but these errors were encountered: