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
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
However, if this is called from a Fragment, after the started Activity returns to this caller Fragment, onActivityResult will not get called! The generated code for startForResult looks like this:
You've provided a nice Intent builder for starting Activities. One could use it like this:
However, if this is called from a
Fragment, after the startedActivityreturns to this callerFragment,onActivityResultwill not get called! The generated code forstartForResultlooks like this:And this is the culprit. In this case the
Activityversion ofstartActivityForResultis called, not theFragmentversion.