Skip to content Skip to sidebar Skip to footer

Android :- Custom Expandablelistview : Cannot Expand Group Item To Display Child Item In Customlistview

I'm trying to implement a custom ExpandableListView inside a SherlockFragment. I followed this sample to extend BaseExpandableListAdapter and create my custom adapter. Here is my p

Solution 1:

Ok I find my mistake, the problem was in fact coming from both EditText and the Button I have been using in my group items. When I set this widgets to non clickable and non focusable the click on my group items perform normally.

I should have detected this conflict sooner, I tried before to remove both my Button and my EditText, but i forgot that at some point I had try to add android:clickable="true" to my RelativeLayout (thinking it would allowed the click on my group items) but instead it has also created a conflict :/ Anyway, if someone has a similar problem, keep in mind to check if any of your view inside your group item is clickabble or focusable and set them to android:clickable="false" android:focusable="false"

Post a Comment for "Android :- Custom Expandablelistview : Cannot Expand Group Item To Display Child Item In Customlistview"