开发者

How can I stop an activity until other activity is over?

开发者 https://www.devze.com 2023-04-03 07:37 出处:网络
I have an activity where I start a new activity but I want to stop the previous activity until the new activity is over because otherwise I can\'t use开发者_Python百科 the new data from the new activi

I have an activity where I start a new activity but I want to stop the previous activity until the new activity is over because otherwise I can't use开发者_Python百科 the new data from the new activity.


That's exactly what startActivityForResult is used for. Your activity is called back (onActivityResult) when invoked Activity posts results.

0

精彩评论

暂无评论...
验证码 换一张
取 消