Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.