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:
cited a floor mmorss reply:
see you are using a finish or startactiivty a


I jump with the startactiivty
Reply:
start is definitely restart, and you use finish, so that it would call onresume, not oncreate
Reply:
reference to the third floor mmorss reply:
start certainly is restarted, you use the finish, so that it would call onresume, not oncreate


Jump how to use finish Ah, wrong, right

No comments:

Post a Comment