I have 30 items in the ListView . If I write something in the zero element, then when scrolling down, these data may be generally below, or even in place 4 12 15 28.
So I decided that it would be better if I somehow disabled the re-creation of components in the ListView .
Or in EditText catch the moment when a person loses focus, so that I save the data to a file, and then read it.
@Override public View getView(final int position, View convertView, ViewGroup parent) { if (convertView == null) { convertView = getLayoutInflater().inflate(R.layout.main_list, null); } EditText editText = (EditText)convertView.findViewById(R.id.editText); editText.setHint("asdsadad"); // SharedPreferences sharedPreferences = getPreferences(MODE_PRIVATE); // sharedPreferences.getString("pos" + position, ""); return convertView; }