jermainedilao
06/06/2024, 3:04 AMdragAndDropSource
and dragAndDropTarget
to implement a drag and drop behavior. I notice there is a default effect while dragging that reduces the dragged composable’s alpha
value.
Is there a quick way to remove this default effect?
I can see there is drawDragDecoration
which only gives me a DrawScope. I can also manually implement the drag and drop behavior using pointerInput
but that would be more complex. I’m trying to utilize dragAndDrop*
modifiers.Afzal Najam
08/07/2024, 2:58 AMDragAndDropTransferData(flags = View.DRAG_FLAG_OPAQUE)
when calling startTransfer