Fragment onActivityResult method on executing calls activity onActivityResult

前端 未结 5 1369
余生分开走
余生分开走 2021-02-09 17:57

In my fragment I have started startActivityforresult intent for photo capture.I have overridden onActivityResult callback method in fragment class. I have implemented onActivity

5条回答
  •  时光取名叫无心
    2021-02-09 18:12

    The onActivityResult in Activity will be called first, you should not remove processing the result in Activity but do what you want via checking the requestCode.

提交回复
热议问题