thats an un usual problem for me to handle.. I've tried everything but 
nothing works..
here is my code

mExpandableList.setOnChildClickListener(new 
ExpandableListView.OnChildClickListener() {
 @Override
public boolean onChildClick(ExpandableListView arg0, View arg1, int arg2,
int arg3, long arg4) {
// TODO Auto-generated method stub
int countInt=mParents.get(arg2).mArrayChildren.get(arg3).count;
countInt++;
ChildHolder childh=(ChildHolder)arg1.getTag();
 mParents.get(arg2).mArrayChildren.get(arg3).count++;
childh.count.setText(Integer.toString(countInt));
 return true;
}
});
that's in the expandable list view adapter...

now whenever i click the child that function triggers and all the work is 
done.. the thing i dont understand that it should update only 
"mParents.get(arg2).mArrayChildren.get(arg3).count" but it updates "arg3" 
indexes of all the mParents children. 
I dont know why is this happening.. ??
can anyone help me with that.. 
Regards

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to