-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Comments
新分支: 在原项目基础上修复bug和增加功能,尽量做到对原开发者的使用无侵入 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: