Pregunta

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?

¿Fue útil?

Solución

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.

Otros consejos

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top