android - Why onDestroy called when returning to parent activity in PAD? -
Now there is a strange question, I have two movements, some properties before A and B, A to B, B. After completion, call B, A, and B.Finish () method, but the problem is that when B is finished, one method automatically calls the diastair and again the CREAT says, Its going on?
This phenomenon is in the use of Tablet PCs, and will not appear on mobile phone usage. The pad memory is large enough and set the A and B activity use the same base activity with different visual groups. C can not use the , even after C, attempts to open up the activity, and then c finishes, then b On normal, not executed on redeem, why would B will lead only one of the Destiny A in Return? The life cycle is as follows: An onDestroy should not appear ah. Please take a look at the diagram in the following link: When you call the Finnish () It will be destroyed after that call because you have done it with activity. android: screenOrientation = "portrait"
android: launchMode = "singleTop"
An on the one-on-one a resume -------- ---------- A onopose b Resume A Onist on Oncet B Onboard B ------------------- B. Call the Affinish () B. A on Destory A
Comments
Post a Comment