Skip to content Skip to sidebar Skip to footer

Can't Get String Which Is Entered Into Edit Text In Expandablelistview(not The Usual Focus Issue)

Hey so basically I have a Sign-in/Register screen for an app and I have to make it using an ExpandableListView as shown. Based on the position of the child in a group I have infla

Solution 1:

I just used a TextWatcher(which didn't work properly before this) The code is here:

@Override
public void afterTextChanged(Editable s) {

    user_name=s.toString();
}
@Override
public void beforeTextChanged(CharSequence s, int start,
        int count, int after) {
    // TODO Auto-generated method stub

}
@Override
public void onTextChanged(CharSequence s, int start, int before,
        int count) {
    // TODO Auto-generated method stub


}

Post a Comment for "Can't Get String Which Is Entered Into Edit Text In Expandablelistview(not The Usual Focus Issue)"