Skip to content

ActivityA --> ActivityB, if ActivityA.onPause to Activity.onStart nee…#5

Open
hexi wants to merge 1 commit intosteveliles:masterfrom
hexi:master
Open

ActivityA --> ActivityB, if ActivityA.onPause to Activity.onStart nee…#5
hexi wants to merge 1 commit intosteveliles:masterfrom
hexi:master

Conversation

@hexi
Copy link
Copy Markdown

@hexi hexi commented May 27, 2016

please view below comment.

…d some long time(3s), and you quick press back key once ActivityB show, on this occasion, the lifecycle like below.

ActivityA.onPause --> ActivityB.onStart --> ActivityB.onResume --> ActivityB.onPause --> ActivityA.onResume --> ActivityB.onStop.
So, the ActivtyA.onActivityStarted can not be invoked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant