Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

方法三 ActivityLifecycleCallbacks #14

Open
AllenCoder opened this issue Jul 13, 2016 · 0 comments
Open

方法三 ActivityLifecycleCallbacks #14

AllenCoder opened this issue Jul 13, 2016 · 0 comments

Comments

@AllenCoder
Copy link

这个方法也有问题,当我横竖屏切换 重新实例化时,生命周期会先调用 自己的onStop ,再去调用 onStart会出现误判断 appCount =0; 而正常的 activity 跳转(A -》B)是 B Activity 先 onStart() 然后 A Activity 才 onStop()

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

No branches or pull requests

1 participant