https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
u

毛小川

06/24/2022, 7:17 AM
Hi! How can I reordering some
Item
by drag/drop which in
LazyColumn
?
t

Timo Drick

06/24/2022, 8:48 AM
I do have a snippet for drag and drop outside of the LazyColumn. It is a little bit more complexe than just reordering the list. But maybe you can take it as starting point. If you do drag and drop just inside of the LazyColumn you do not need a fake replacement item outside of the LazyColumn. https://gitlab.com/-/snippets/2240199
z

Zoff

11/11/2023, 10:22 AM
@Timo Drick is this still the current status on drop in compose? or are there updates? i used your snippet and it doesnt do anything. any ideas?
t

Timo Drick

11/16/2023, 8:25 AM
Sorry did not worked on this. There are maybe better solutions now. But i do not know.
68 Views