I used FishBun 0.11.4 before, using GlidAdapter() as the imageAdapter, but some of the image doesn't show, so I change to FishBun 1.1.1 and used CoilAdapter(), now It displays all the photo, but when I select the photo, it shows open failed: EPERM (Operation not permitted).
How to repeat issue and example
use implementation 'io.github.sangcomz:fishbun:1.1.1', implementation 'io.coil-kt:coil:0.11.0' in build.gradle
if (requestCode==PHOTO_FILE_INTENT $$ requestCode==RESULT_OK) {
List<Uri> uris=data.getParcelableArrayListExtra(FishBun.INTENT);
}
This is the error Log:
FATAL EXCEPTION: main
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=253052549, result=-1, data=Intent { }} to
activity {ntu.airobo.reminiscence/ntu.airobo.reminiscence.ui.MainActivity}: java.lang.NullPointerException: Attempt to invoke
interface method 'int java.util.List.size()' on a null object reference
/storage/emulated/0/Logs/2023-06-20_18:07:14.txt: open failed: EPERM (Operation not permitted)
Description
I used
FishBun 0.11.4
before, using GlidAdapter() as the imageAdapter, but some of the image doesn't show, so I change toFishBun 1.1.1
and used CoilAdapter(), now It displays all the photo, but when I select the photo, it showsopen failed: EPERM (Operation not permitted)
.How to repeat issue and example
implementation 'io.github.sangcomz:fishbun:1.1.1'
,implementation 'io.coil-kt:coil:0.11.0'
in build.gradleThis is the error Log:
Additional Information