-
Notifications
You must be signed in to change notification settings - Fork 452
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
Proper OnResume Behavior Suggestions? #34
Comments
Honestly, I'm confused. What exactly leads to this? Do you turn the screen off and on, or do you restore activity from activity stack, does it happen after orientation changes? |
Sorry about the confusion. The navigation menu gets stuck in the open position when the activity is resumed.
I initialize SlidingRootNav in onCreate. Should it also be initialized in onResume too? |
|
Closing the sliding menu is the right way to go. I think closing it on pause is better than hiding it on resume. |
I love this library so much! ❤️
A quick question on the proper way to handle SlidingRootNav's lifecycle. When an activity using SlidingRootNav is recreated (resumed from sleep), should the menu be recreated? I have noticed that if the menu is open and the app is put to sleep and then resumed, the menu stays open but the sliding mechanism no longer works.
Thank you for your suggestions!
The text was updated successfully, but these errors were encountered: