Skip to content
New issue

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

在图片裁剪是按返回,没有加入空指针判断的问题 #290

Open
xiangtongcheng opened this issue Apr 25, 2019 · 1 comment
Open

Comments

@xiangtongcheng
Copy link

if (data.getCount() > 0) {
//构造所有图片的集合
ImageFolder allImagesFolder = new ImageFolder();
allImagesFolder.name = activity.getResources().getString(R.string.ip_all_images);
allImagesFolder.path = "/";
allImagesFolder.cover = allImages.get(0);
allImagesFolder.images = allImages;
imageFolders.add(0, allImagesFolder); //确保第一条是所有图片
}

如代码所示应该判断allImages集合是否为null

@CysionLiu
Copy link

新分支:
https://github.com/CysionLiu/ImagePicker

在原项目基础上修复bug和增加功能,尽量做到对原开发者的使用无侵入

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants