how get Result from onActivityResult in Fragment?

前端 未结 3 2085
栀梦
栀梦 2021-02-12 17:37

I have used Navigation drawer in each item click i have called Fragments so in one item i have called one Fragment in this fragment i need

3条回答
  •  暖寄归人
    2021-02-12 18:38

    Replace

    getActivity().startActivityForResult(intent, CAMERA_DATA);
    

    with

    startActivityForResult(intent, CAMERA_DATA);
    

提交回复
热议问题