File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compose/snippets/src/main/java/com/example/compose/snippets/draganddrop Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ import androidx.annotation.RequiresApi
2424import androidx.compose.foundation.ExperimentalFoundationApi
2525import androidx.compose.foundation.draganddrop.dragAndDropSource
2626import androidx.compose.foundation.draganddrop.dragAndDropTarget
27- import androidx.compose.foundation.gestures.detectTapGestures
2827import androidx.compose.runtime.Composable
2928import androidx.compose.runtime.remember
3029import androidx.compose.ui.Modifier
@@ -51,7 +50,8 @@ private fun DragAndDropSnippet() {
5150 Modifier .dragAndDropSource { _ ->
5251 DragAndDropTransferData (
5352 ClipData .newPlainText(
54- " image Url" , url)
53+ " image Url" , url
54+ )
5555 )
5656 }
5757 // [END android_compose_drag_and_drop_2]
You can’t perform that action at this time.
0 commit comments