Skip to content Skip to sidebar Skip to footer

Listadapter Not Updating When Editing Content

Every time content is added to the recyclerview and it happens the title is misspelled when I go to fix the mistake, the update/edit does not take effect. The goal is fixing the u

Solution 1:

adapter.notifyDataSetChanged();

This worked in Java, but don't know kotlin syntax. Try adding this in onChange() method after

adapter.submitList(books)

Post a Comment for "Listadapter Not Updating When Editing Content"