I have a expandable listview.on expanding a group i am getting child views with a footer which has an edit text.Now when i write something in that edit text and when i scroll up/down the text written inside it gets blanked.So i have followed this link collasping
expandable-listview it works but that at one time i am expanding one group but how to keep the values intact even when scrolling and clear its when when group gets collapsed..any help please. heres my childview code
public View getChildView(int gposition, int childposition, boolean isLastChild, View arg3, ViewGroup arg4) {
// TODO Auto-generated method stub
LayoutInflater inf=getLayoutInflater();
if(childposition == 0)return arg3 = inf.inflate(R.layout.child_header, null);
if(isLastChild){
arg3 = inf.inflate(R.layout.child_footer, null);
}
in this child footer i have an edittext.