Question

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?

Était-ce utile?

La solution

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.

Autres conseils

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top