# Drag And Drop RecyclerView Items

DevFeed: [Drag And Drop RecyclerView Items](<https://devfeed.tech/articles/drag-and-drop-recyclerview-items-22804.md>)

Original publisher: [Read original article](<http://androidessence.com/drag-and-drop-recyclerview-items/>)

Author: Adam McNeilly

Published: 2015-09-09T00:00:00Z

Content type: tutorial

Language: en

Sources: [Android Essence](<https://devfeed.tech/sources/android-essence.md>)

Topics: [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [collections](<https://devfeed.tech/tags/collections.md>), [function](<https://devfeed.tech/tags/function.md>), [implement](<https://devfeed.tech/tags/implement.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [list](<https://devfeed.tech/tags/list.md>), [object](<https://devfeed.tech/tags/object.md>), [project](<https://devfeed.tech/tags/project.md>), [recyclerview](<https://devfeed.tech/tags/recyclerview.md>)

## AI overview

A short tutorial on adding drag-and-drop behavior to RecyclerView items. It explains swapping adapter items with Collections.swap() and implementing the onMove behavior, building on a previous swipe-to-dismiss example.

## Source excerpt

Before continuing this post, I recommend that you read my previous one on Swipe To Dismiss RecyclerView Items as this will build upon the ItemTouchHelper class discussed there. Once you've done that, come back to this short post and learn how to drag and drop RecyclerView items like this: