Skip to content
New issue

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

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

Already on GitHub? # to your account

onOpened() isn't called on screen rotation #66

Open
0legg opened this issue Jun 15, 2016 · 0 comments
Open

onOpened() isn't called on screen rotation #66

0legg opened this issue Jun 15, 2016 · 0 comments

Comments

@0legg
Copy link

0legg commented Jun 15, 2016

If you're making some module that needs to update frequently in runtime, it makes sense to run updates if and only if DebugDrawer is visible (e.g. between onOpened() and onClosed()) and Activity is running (e.g. between onResume() and onPause()).

If we're rotating the screen, DrawerLayout itself maintains its visibility, but it can be new DrawerLayout per se, so we'll get into situation when DrawerLayout is open, as well as DebugDrawer, but onOpened() method for this instance was never called.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant