Hi, I'm having serious difficulties catching click events on a ExpandableListView. It feels like I've been trying everything from adding Catch-event from
ExpandableListView.GroupClick event to implmenting my own class that implements
ExpandableListView.IOnGroupClickListener interface in combination with ExpandableListView.SetOnClickListener(). However, nothing seem to take effect. Have also been manipulating with the
clickable and the
focusable attributes on the Layout without success.
This is the first ExpandableListView I'm implementing so I'm not sure if I've done something really wrong! But my parent view is constituted by a standalone layout (.axml) with a linearLayout as root element, the same goes for the child-view.
Is there something wrong having the parent and child views be constituted by custom-layouts/views like this? The parent view is listed just fine, and also the child view (manged to see how it looked like by hardcoding a test using ExpandableListView.ExpandGroup()!).
The real problem why I want to Catch these events is that the ExpandableListView does **not ** expand when clicking on a Group item which I read somewhere that it should do by default, perhaps this give some hint on what might be wrong.