onActivityResult is not being called in Fragment

后端 未结 30 2629
忘了有多久
忘了有多久 2020-11-21 04:28

The activity hosting this fragment has its onActivityResult called when the camera activity returns.

My fragment starts an activity for a result with th

30条回答
  •  执念已碎
    2020-11-21 04:49

    As Ollie C mentioned, there is an active bug for the support library using returned values to onActivityResult when you are using nested fragments. I just hit it :-(.

    See Fragment.onActivityResult not called when requestCode != 0.

提交回复
热议问题