top of page
< Back

Drag and Drop in Compose!

Status: Accepted

In this talk I will share learnings from over a year spent hacking around in Compose UI to faithfully reimplement some of Trello’s View-based drag and drop interactions and rolling it out to our millions of users.

In this talk we will discuss:

Creating a custom drag and drop system using a pointerInput and the graphicsLayer modifier.

Implementing a more “out of the box” solution with dragAndDropSource and dragAndDropTarget modifiers.

The relative merits and pitfalls of each of these approaches.

Managing state, making it look pretty, pesky edge cases, and much more!

Speakers

Cole Tomlinson

Android Developer at Trello (Atlassian)

bottom of page