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 trial

Android

Sean Gallagher
Sean Gallagher
2,054 Points

Other 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

It's possible. You can use expandable recyclerviews. You would need to do some googling to find the right library.

Sean Gallagher
Sean Gallagher
2,054 Points

Yes 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/

You 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
Sean Gallagher
2,054 Points

Thanks 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.