Android : how to get ExpandableListView child text

on Thursday, July 31, 2014


i am using expandable listview with json array. i have get sample code



http://stackoverflow.com/questions/18269261/how-to-make-expandablelistview-with-json-array/18271181#18271181


my question is how to get child title as string. I need child data while click childlist.



expListView.setOnChildClickListener(new OnChildClickListener() {

@Override
public boolean onChildClick(ExpandableListView parent, View v,
int groupPosition, int childPosition, long id) {


GlobalData.childheader=ListChildXXXXXXXXX.get(
Listparent.get(groupPosition)).get(
childPosition);


} It not executed. please help


0 comments:

Post a Comment