expListAdapter.notifyDataSetChanged(); - to notify adapter that data has changed :
For onclick :
OnChildClickListener myOnChildClick = new OnChildClickListener() {
@Override
public boolean onChildClick(ExpandableListView arg0, View arg1, int arg2, int arg3,
long arg4) {
// TODO Auto-generated method stub
return false;
}
};
and setOnChildClickListener(myOnChildClick); in onCreate
Alex Volovoy
2010-05-04 14:18:18