I would like to know if it is possible to put an Expandable ListView as one child of one element of another Expandable ListView like that i want 4_level of expandable listview.
Thanks
Check this github repo for n-level expandable listview :
Polidea treeview
Yes it is possible. You need to implement child expandableListView in its parent's adapter. Check out this example: https://stackoverflow.com/a/20609153/2065418
Related
I want to create an Expandable list View in which child view also having a list view.
please give me suggestion,
how to create this.
In this you can clearly understand what is expandable listview
Link: http://www.journaldev.com/9942/android-expandablelistview-example-tutorial
I tried setOnItemClickListener() for an Expandable ListView but it didn't work as I expected! Is there any difference in operation for setOnItemClickListener() and setOnGroupClickListener() for an Expandable ListView?
If you want something happen when you select a Group header use setOnGroupClickListener()
If you want something to be happen when an child item is clicked (of a certain group) use setOnChildClickListener()
setOnItemClickListener() isn't much of a use in case of ExpandableListView
On click of certain listview items, I need to show sub item under the item clicked.
Could some one please throw some light on this?
If you are talking about Expandable List then just look at this example.
ExpandableList1.java
Also this ExpandableListView
You can try out an ExpandableListView in Android.
Hi i am displaying items according to different categories using Expandable Listview.Now I want to display only items ,No need of parent name or parent indicator.is there any solution from expandable list view to diplay only child items .I don't have time Thats y i am displaying items from expandable list view(I am alredy developed this one) .So please give me some suggestions.It is very urgent.thanks in advance
I think you cannot have child view without group view in ExpandableListView. Which adapter you are using for populating group and child view?
You should use lisview instead which is easy to used.
I am following an expandable list tutorial and the expandable functionality is working fine:
http://mylifewithandroid.blogspot.com/2008/05/expandable-lists.html
I don't know which event to implement. I need to handle checkboxes in a list when I click on checkbox when it expands the list. How do I distinguish a list click with checkbox placed in an expandable list?
Or, kindly refer me to tutorial same as expandablelist view with checkboxes.
I found the solution here...
http://mylifewithandroid.blogspot.com/2010/02/expandable-lists-and-check-boxes.html