Reputation: 41
i have a problem about activity lifecycle in nexus 5. When i go back to previous activity onCreate() method calls on previous activity. Normally it should call onStart() method when go back to previous activity.
In other devices with android 4.3 or lower i didn't see any behaviour like this.
In manifest file i've defined
android:configChanges="keyboardHidden|orientation|screenSize"
for all activies.
Is it something about android 4.4.2 and how to fix it?
Upvotes: 1
Views: 731
Reputation: 76
There is a developer option to destroy all activities by default.You may have checked that. It should be at the bottom of the developer options on the first entry below the apps header.
Upvotes: 6
Reputation: 11
ethod calls on previous activity. Normally it should call onStart() method when go back to previo close previous activity using developer options first entry belohank you, my problem is solved. it was all abo
Upvotes: 1