开发者

Android Activity Stack Question

My android program has 4 activities: A -> B -> C -> D

When activity C starts activity D, activ开发者_运维百科ity C closes. (The onStop() method is called). Is there a way to tell why it is closing?


If C is no longer visible once D starts (e.g D is full screen), then C will be stopped per the standard activity lifecycle:

http://developer.android.com/guide/topics/fundamentals.html#actlife

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜