开发者

Is it possible to show an alertDialog is still showing when starting a child activity?

Is it possible to show an alertDialog that is still showing when starting a child activity?

I am asynchronously fetching results from a server. The request is sent from activtiy A which then shows a progressDialog. When the fi开发者_C百科rst result is received, activity A starts activity B, which will receive the following results. But the progressDialog shown from A should still be shown when B starts.

How can I do this? thanks


I'm not sure if it will work but you could try changing the owner activity from Activity A to Activity B with: Dialog.setOwnerActivity() for more info see the dialog docs

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜