You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
anuragjksamanta92
changed the title
cameraOnly(), galleryOnly(), provider(ImageProvider) no one working.
cameraOnly(), galleryOnly(), provider(ImageProvider) no t working.
Jan 15, 2022
anuragjksamanta92
changed the title
cameraOnly(), galleryOnly(), provider(ImageProvider) no t working.
cameraOnly(), galleryOnly(), provider(ImageProvider) not working.
Jan 15, 2022
There's some issue when you try to open Camera or Gallery via separate functions. Below is the code.
private void openCamera() {
ImagePicker.Companion.with(MainActivity.this)
.cropFreeStyle().maxResultSize(1080, 1080, true)
.provider(ImageProvider.CAMERA) //Only works when set to BOTH
.createIntentFromDialog((Function1) (new Function1() {
public Object invoke(Object var1) {
this.invoke((Intent) var1);
return Unit.INSTANCE;
}
public final void invoke(@NotNull Intent it) {
Intrinsics.checkNotNullParameter(it, "it");
launcher.launch(it);
}
}));
}
The text was updated successfully, but these errors were encountered: