How to update/refresh specific item in RecyclerView

You can use the notifyItemChanged(int position) method from the RecyclerView.Adapter class. From the documentation:

Notify any registered observers that the item at position has changed.
Equivalent to calling notifyItemChanged(position, null);.

This is an item change event, not a structural change event. It
indicates that any reflection of the data at position is out of date
and should be updated. The item at position retains the same identity.

As you already have the position, it should work for you.

Leave a Comment