This PR adds handling of the case where the backing list instance changes but the contents remain the same (based on their IDs and content hash). When this happens, onBindViewHolder doesn't get called for the items, which causes the ViewHolder to have reference to a stale instance.
This can cause some inconsistencies when mutating items in some cases.
This PR adds handling of the case where the backing list instance changes but the contents remain the same (based on their IDs and content hash). When this happens,
onBindViewHolder
doesn't get called for the items, which causes the ViewHolder to have reference to a stale instance.This can cause some inconsistencies when mutating items in some cases.