

restrictOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT) captureStrategy(new CaptureStrategy(true, "")) choose(MimeType.of(MimeType.JPEG, MimeType.PNG)) Permission.addOnCameraListener(new void OnCameraSuccess() Permission.addOnStorageListener(new void OnStorageSuccess() Super.onActivityResult(requestCode, resultCode, data) MainActivity void onActivityResult(int requestCode, int resultCode, Intent data)

Can someone please help me with me? Been stuck for the whole day with this issue. I use Matisse library for my image picker. My MainActivity is used to set up the Navigation Controller. I put onActivityResult in both my MainActivity and AddMessageFragment but it doesn't call the result in my fragment. When I select the image, it doesn't return the result to my current fragment. First, I opened the Add New Message Fragment to select the image. I have a problem regarding onActivityResult.
