onActivityResult is not being called in Fragment

后端 未结 30 2608
忘了有多久
忘了有多久 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 05:10

    I think you called getActivity().startActivityForResult(intent,111);. You should call startActivityForResult(intent,111);.

提交回复
热议问题