Thanks for sharing! I think I used something similar for drag and drop. But I used the android specific version:
https://developer.android.com/develop/ui/compose/touch-input/user-interactions/drag-and-drop
I think with the api you did I could actually offset the composable. The Android API creates a canvas to draw into as the view being moved. Which works but is not exactly what I'd want.
Yeah, it's a tricky idea as well since the data model is so dynamic. Right now I'm cheating and calling redraw when a move has been detected as opposed to letting the data do it, which is the proper way.
One thing at a time 🙂