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(); }