File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
compose/snippets/src/main/java/com/example/compose/snippets/draganddrop Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,11 @@ private fun DragAndDropSnippet() {
5151
5252// detectTapGestures(onLongPress = {
5353// startTransfer(
54- DragAndDropTransferData (
55- ClipData .newPlainText(
56- " image Url" , url
57- )
58- )
54+ DragAndDropTransferData (
55+ ClipData .newPlainText(
56+ " image Url" , url
57+ )
58+ )
5959// )
6060// })
6161 }
@@ -65,12 +65,12 @@ private fun DragAndDropSnippet() {
6565 Modifier .dragAndDropSource { _ ->
6666// detectTapGestures(onLongPress = {
6767// startTransfer(
68- DragAndDropTransferData (
69- ClipData .newPlainText(
70- " image Url" , url
71- ),
72- flags = View .DRAG_FLAG_GLOBAL
73- )
68+ DragAndDropTransferData (
69+ ClipData .newPlainText(
70+ " image Url" , url
71+ ),
72+ flags = View .DRAG_FLAG_GLOBAL
73+ )
7474// )
7575// })
7676 }
You can’t perform that action at this time.
0 commit comments