posted 11 years ago
I need to know ,if i used intent to go another activity, does first activity killed?
this is my main activity.
this is my second activity
this is my activity_main.xml
this is my print.xml
when i click MainActivity button it goes to second activity(PrintValue)
it prints below
INSIDE MainActivity onClick
INSIDE PrintValue onCreate
then when i click PrintValue button again it should not prtint the "INSIDE MainActivity onCreate".But it prints the "INSIDE MainActivity onCreate" again.why ?