开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜