onActivityResult never called

后端 未结 9 1056
梦谈多话
梦谈多话 2020-12-17 10:04

So far, I used the startActivity function with success and now that I need to use the startActivityResult, I have a problem.

When using this function, the activity

9条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-17 10:38

    My silly mistake. Might help someone.

    I kept onActivityResult(...) in another class. It has to be as a method in the class where the startActivityForResult() is called.

提交回复
热议问题