ExpandableListView inside ExpandableListView
Asked Answered
H

3

11

I would like to know if it is possible to put an ExpandableListView as one child of one element of another ExpandableListView. Thanks

Hako answered 13/9, 2011 at 12:10 Comment(1)
Checkout this lightweight implementation github.com/shahbazhashmi/nested-expandable-recyclerviewObservance
C
7

yes.It is possible to create the expandable listview inside the expandable listview.

Follow the bellow link.It demonstrates the 3_level expandable listview.

http://mylifewithandroid.blogspot.com/2011/02/3-level-expandable-lists.html

Crissie answered 13/9, 2011 at 12:33 Comment(0)
L
0

I personally tried this situation and its almost impossible to handle expandable list operations. If you put a second expandable list view into first one's child then the second one cannot open the first one when it is expanded. (the root ELV does not resize) Also the if the child ELV has too much children then it is opening incredibly slow.

Give up if you try to find such a solution. the only way I found is to implement a listview behaving like a listview. This is the best solution I have ever found and implemented. This is the link.

It can be nested and implemented as infinite level.

Lugar answered 29/9, 2017 at 5:13 Comment(0)
W
-1

Yes definitely we can put one ExpandableListView as a child of the other ExpandableListView Try this link

Washcloth answered 13/9, 2011 at 12:26 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.