Saturday, February 8, 2014
When a program must have two sigleTask when and how to deal with it
The first activity and the second activity is singleTask,
However, the first jump to the second, and then back to the first from the second, and then a jump to the second from the first,
The second picture was re-discovered a new object, debug time or go onCreate method.
When a program must have two sigleTask when and how to deal with it
Reply:
See you are using a finish or startactiivty
Reply:
I jump with the startactiivty
Reply:
start is definitely restart, and you use finish, so that it would call onresume, not oncreate
Reply:
Jump how to use finish Ah, wrong, right
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment