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

invoke onDestroy callback twice when rotate the screen #2

Open
daselang opened this issue Jan 17, 2019 · 0 comments
Open

invoke onDestroy callback twice when rotate the screen #2

daselang opened this issue Jan 17, 2019 · 0 comments

Comments

@daselang
Copy link

daselang commented Jan 17, 2019

when I have used the FUtils.init(this) in My own Application class witin onCreate(),
and then I rotate the device screen,the activity invoke the lifecycle method as same as before,
and then rebuild a same activity, and the lifcycle method is invoked,onCreate,onViewCreated......onResume.
but unfortunately,the onDestroy is invoked again,and then the activity is finished ,app is stopped.
and then I remove the FUtils.init(this) in application class,everything is fine.
please fix it,thanks.

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