Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSean Gallagher
2,054 PointsOther options besides Nav Drawer for more complex menus?
Before watching the video I was hoping Treehouse would cover how to expand the drawer to dynamically show submenus. Sounds like the point of Nav Drawer is to keep it simple. I'm no Ux person so I'm curious to know what option menu options folks are using for more complex choices. My menu isn't necessarily complex just requires you to drill down to make list selections. Appreciate any feedback folks have.
2 Answers
Ozhan Saat
Courses Plus Student 4,002 PointsIt's possible. You can use expandable recyclerviews. You would need to do some googling to find the right library.
Ozhan Saat
Courses Plus Student 4,002 PointsYou could have a settings option in the nav drawer that opens a settings activity. Or you could have a overflow menu. If thats what you mean't.
Sean Gallagher
2,054 PointsThanks for the suggestion but instead of the settings or overflow options I was thinking more of a submenu that expanded in the nav drawer. Since that doesn't look like it's possible I'll rethink how I've organized things.
Sean Gallagher
2,054 PointsSean Gallagher
2,054 PointsYes I think expandable recyclerviews is a great option. Thanks!
Here's a sample of what I'm attempting to use now. I'll update when I get it working.
https://www.bignerdranch.com/blog/expand-a-recyclerview-in-four-steps/