ArthurHub / ArthurHub/Android-Image-Cropper

Unnable to reach the fragment onActivityResult() method (using kotlin)

Open
#709 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Hello,

I think that I'm using the equivalent code solution of what of an issue that has previously been closed (#155 ), however, after the image is selected, the flow of the program goes to the activity onActivityResult() and doesn't return to the fragment onActivityResult() and nothing happens.
(**I'm using kotlin**)

This is what I have in the fragment:
> activity?.run {
> startActivityForResult(CropImage.getPickImageChooserIntent(this, getString(R.string.select_app), false, false), CHOOSE_IMAGE_REQUEST)
> }

(super is present on onActivityResult method)

is there something missing on the code above that is preventing the flow to reach the fragment method onActivityResult()?

thank you in advance

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.