<Moving item in RecyclerView doubles item in view>...
# stackoverflow
u
Moving item in RecyclerView doubles item in view I'm building a contact list (ArrayList) in a messaging app using RecyclerView. When a contact updates, I want to move that user to the top of the list, while all other items in the list move one step down. I'm using a function with the following code within my Adapter: Collections.swap(myArrayList, fromPosition, toPosition); notifyItemMoved(fromPosition, toPosition); The list I have to begin with is:

https://i.stack.imgur.com/4wm1Mm.png▾

When I...