Hello everyone, I ran into a problem. There is a list of EditText elements for display used RecycleViewAdapter. If I enter the data into EditText, and then delete the list item, the list item is deleted, but the values ​​are shifted down by 1 item in the list.

Those:

1. EditText ("Ford") <-удаляем 2. EditText ("Mazda") 3. EditText ("Opel") 

Become like this:

 2. EditText ("Ford") 3. EditText ("Mazda") 

Does anyone have any thoughts?

I update the list like this:

 //Передаем новый ArrayList public void update(ArrayList list){ this.list.clear(); this.list.addAll(list); this.notifyDataSetChanged(); } 
  • Check which sheet is fed to the update () entry - Real KEK
  • Show the adapter code immediately, how to delete the item, how and where to update the list. - eugeneek

0