Hello fellow developers,
I am building an app and I want my navigation drawer items to have expandable sub items for example I have an item called Item 4, I clicked on it and it will expand and show me a list of sub items such as Option 1, Option2, and Option 3.
This is an example image I copy from other source. I am using the default navigation drawer in the android studio itself. I read a lot online and all of them implement the ExpandableListView which I am not familiar with. Is there a better way to do this? I just need some guides so that I can expand Item 4 when clicked and being able to select any of the options. Thanks
I am building an app and I want my navigation drawer items to have expandable sub items for example I have an item called Item 4, I clicked on it and it will expand and show me a list of sub items such as Option 1, Option2, and Option 3.
This is an example image I copy from other source. I am using the default navigation drawer in the android studio itself. I read a lot online and all of them implement the ExpandableListView which I am not familiar with. Is there a better way to do this? I just need some guides so that I can expand Item 4 when clicked and being able to select any of the options. Thanks