i want to implement expandable list view with multiple child layouts. all works fine but problem om,child view..child not appear on appropriate position.... here is my code...PL
BaseExpandableListAdapter
doesn't have getViewTypeCount()
and getItemViewType(). in order to have different children view types you have to override the following methods instead.
@Override
public int getChildTypeCount() {
return 2;
}
@Override
public int getChildType(int groupPosition, int childPosition) {
if (getChildId(groupposition, childposition)==3)
return 0;
//Not free
else
return 1;
}