Android Question Activity_Create Question

WDK

Member
Licensed User
When I go from Activity1 to Activity2, the Activity_Create is run for Activity2 correctly. However, when I go back to Activity1 then Activity2 again, the Activity_Create is not run again for Activity2. Is there a way I can trigger this so the Activity_Create is run each time I StartActivity("Activity2")?

Thanks
WDK
 

Cableguy

Expert
Licensed User
Longtime User
Why do you need it to be recreated?
That event is only triggered if the activity is not yet created, so any "special" coding should be done in activity_resume
 
Upvote 0

WDK

Member
Licensed User
Cableguy...thanks for pointing me to the activity_resume. This is exactly what I was looking for instead of recalling the activity_create. Makes a lot of sense.

Also...thanks for the link to the activity life cycle. This will definitely prevent me from banging my head against the wall for other issues I was encountering.

Appreciate everyone's help!
WDK
 
Upvote 0
Top