Issue
I have an activity that expects to be passed a few extras when launched.
When this activity is destroyed and recreated, will the intent returned by getIntent()
called from within onCreate()
contain the same extras that were present when the activity was originally launched?
Solution
Depends on if it was intentionally destroyed. If it was destroyed by a finish() call, no. If it was destroyed because the system was freeing up memory, yes. It will also have a flag stating that this is a recreate (useful if your app only works from the first activity, such as an app that needs you to be logged in).
Answered By - Gabe Sechan
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.