How can update a specific item in Recyclerview without having a position?
I have a list that I fill first through the REST. And then any data that has changed from the server side, I will update it through the socket.
To update, needed a postion of the item. For this, I consider a position for each item by default (static) from the server side, but the problem arises when the user side sorts that list. (just sorted in localy)
After sorting, the positions of the items are messed up, and for this reason, it is no longer possible to update them through the statically defined positions.
How can i do this ?
Thanks for ideas!