I would like to know if it is possible to put an ExpandableListView as one child of one element of another ExpandableListView. Thanks
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
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.
Yes definitely we can put one ExpandableListView as a child of the other ExpandableListView Try this link
© 2022 - 2024 — McMap. All rights reserved.