I know there are lots of threads already on this topic, but none of the given solutions worked for me so far. I\'m trying to add or update an item of a RecyclerView
RecyclerView
Use
mItems.set(position, newItem);
instead of
mItems.add(position, newItem);
because .set method will replace your data to particular position.
.set