https://kotlinlang.org logo
#compose
Title
# compose
h

Hamba

11/24/2023, 2:10 PM
I want to make some element in my app draggable from one panel to another, and have a kind of transparent/faded version of it follow the drag. Is the only way to achieve this with an outer Box wrapping my entire app? secondly, how can i have it detect if i have dragged and released the item onto a specific other composable panel? do i just have to store the destination panel's coordinates and compare against the drag position coordinates or is there a better way?