Search code examples
androidandroid-studiosubmenu

Nested Menu Options


After around 5+ hours of code fiddling and searching I finally decided to create an account so I could ask my question. I have found a lot of similar things but not quite what i am looking for, I want to create a menu, in a navigation drawer, that uses collapsed menus. Such as this Image Demonstrates that when you click on an option it changes the menu to a list of options in that menu. I don't need an elaborate explanation just the View Object(or what ever it is).


Solution

  • Create a Fragment for each drill down. You could make the solution generic removing the need for a different fragment per drill down. Upon user selection replace the fragment. You could even bind animations to the transition as well.