質問

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?

役に立ちましたか?

解決

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.

他のヒント

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top