-
-
Notifications
You must be signed in to change notification settings - Fork 308
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
Screen rotation resets intro slides in splash screen demo #58
Comments
Can't confirm this on material-intro 1.5.1 running Nexus 5X Android N |
I just checked out the latest master and this problem appears on Nexus 7 @ Android 6.0.1 (and other lower API levels like 5.0, 4.x as well). Here is a sample gif recording of the Fake splash screen functionality; I rotate the screen two times and pressing the device Back button several times then. You |
Yep this is most likely a problem with the splash screen demo as this issue doesn't occur when starting an intro manually e.g. when pressing "Start intro" in the demo. |
Ah, I see, indeed. But I found another strange thing: the Get started button and the page indicator dots disappear in the "Start intro" demo if you rotate the device any slide other than the first and does not appear again until you go back to the first slide and rotate again. |
We should have another issue for that |
Whenever I rotate the screen during the intro slides, the intro starts again at the initial position. I follow the example code and add my slides in
onCreate()
. I tried to wrap the code into aif (null == savedInstanceState) { ... }
, but then I get an exception:The text was updated successfully, but these errors were encountered: