I have read the documentation of android Navigation Drawer but there is nothing on how to create collapsible/expandable List item in navigation drawer. I know something about android ExpandableListView
but I think it is not the way to create it.
I want to create such nested item:
Asked
Active
Viewed 1.0k times
19

DontVoteMeDown
- 21,122
- 10
- 69
- 105

Kaidul
- 15,409
- 15
- 81
- 150
-
If its a real question, it will make sense. Don't need to apologize. – DontVoteMeDown Jul 12 '13 at 18:37
1 Answers
9
You can start with ExpandableListView
and writing your own ExpandableListAdapter
and use that as your drawer item.

Karakuri
- 38,365
- 12
- 84
- 104
-
1So the Listview of navigation drawer is just like a typical listview we use? – Kaidul Jul 12 '13 at 18:26
-
1You can make any view be the drawer view. ListView seems the most common. – Karakuri Jul 12 '13 at 18:29
-
@Karakuri (or OP) How to make the adapter know which items are droppable and which are simply selectable? – AlleyOOP Mar 16 '15 at 01:27