Closed shangxiazuoyou closed 4 years ago
当手机内图片数量过多时,比如我的手机内有一万张图片,点击预览时,就会报这个异常,请问有没有什么好的方法来解决这个问题呢? 报错代码如下: Intent photoPickerPreviewIntent = new BGAPhotoPickerPreviewActivity.IntentBuilder(this) .previewPhotos((ArrayList<String>) mPicAdapter.getData()) .selectedPhotos(mPicAdapter.getSelectedPhotos()) .maxChooseCount(mMaxChooseCount) .currentPosition(currentPosition) .isFromTakePhoto(false) .build(); startActivityForResult(photoPickerPreviewIntent, RC_PREVIEW);
Intent photoPickerPreviewIntent = new BGAPhotoPickerPreviewActivity.IntentBuilder(this) .previewPhotos((ArrayList<String>) mPicAdapter.getData()) .selectedPhotos(mPicAdapter.getSelectedPhotos()) .maxChooseCount(mMaxChooseCount) .currentPosition(currentPosition) .isFromTakePhoto(false) .build(); startActivityForResult(photoPickerPreviewIntent, RC_PREVIEW);
今天遇到了同样的问题,希望作者尽快看看。
同样遇到这个问题
当手机内图片数量过多时,比如我的手机内有一万张图片,点击预览时,就会报这个异常,请问有没有什么好的方法来解决这个问题呢? 报错代码如下:
Intent photoPickerPreviewIntent = new BGAPhotoPickerPreviewActivity.IntentBuilder(this) .previewPhotos((ArrayList<String>) mPicAdapter.getData()) .selectedPhotos(mPicAdapter.getSelectedPhotos()) .maxChooseCount(mMaxChooseCount) .currentPosition(currentPosition) .isFromTakePhoto(false) .build(); startActivityForResult(photoPickerPreviewIntent, RC_PREVIEW);