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

Arrow state not persisted when rotated #1

Open
patjackson52 opened this issue Oct 15, 2014 · 1 comment
Open

Arrow state not persisted when rotated #1

patjackson52 opened this issue Oct 15, 2014 · 1 comment

Comments

@patjackson52
Copy link

steps to repro:

  1. open drawer
  2. rotate device
  3. notice arrow is now hamburger
@sis-yoshiday
Copy link

you need to save and restore DrawerArrowDrawable#parameter field.

I wrote an example implementation below.

https://github.com/sis-yoshiday/MaterialNavDrawer/blob/master/app/src/main/java/jp/sis/yoshiday/example/materialdrawer/NavigationDrawerFragment.java#L79-L84

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

2 participants