EndLessMind, on 02 August 2012 - 03:26 PM, said:
Sure you can
/>
Just use the OnChildClickListener()
/>
then use ExpandList.setOnChildClickListener(ExpandList_ItemClicked);
Just use the OnChildClickListener()
private OnChildClickListener ExpandList_ItemClicked = new OnChildClickListener() {
public boolean onChildClick(ExpandableListView parent, View v,
int groupPosition, int childPosition, long id) {
// TODO Auto-generated method stub
ExpandListChild ch = ExpListItems.get(groupPosition).getItems().get(childPosition);
//Your code where
return false;
}
};
then use ExpandList.setOnChildClickListener(ExpandList_ItemClicked);
Hi EndLessMind
I inserted this section directed into the end of the onCreate callback method of your example code. Nothing has happened for me. And it seems that your ExpandableListView is unselectable. Is this suppose to happen?





MultiQuote




|