Drag and Drop to reorder Items using the new LazyGrids?

Hey,

I was wondering if it is possible to reorder the Items in a LazyGrid View by using drag and drop.

Thanks!

Replies

That's not built-today, though you can use the View.onDrag(_:) and View.onDrop(...) to add support for drag and drop manually.

Do file a feedback request if you'd like to see built-in reordering support. Thanks!
Thanks for your help!

I have not found a way to use the View.onDrag(_:) and View.onDrop(...) to drag items within one LazyVGrid, is that possible?

Okay, sounds good.