开发者

Android Activity Stack Question

开发者 https://www.devze.com 2023-01-24 03:14 出处:网络
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).

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

精彩评论

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