Composables Logo
Composables
Components References SVG to Compose
Blog For Professionals →
Components SVG to Compose References Blog UI Starter →
Composable Functions
  • AndroidEmbeddedExternalSurface
  • AndroidExternalSurface
  • BasicSecureTextField
  • BasicText
  • BasicTextField
  • BasicTooltipBox
  • BasicTooltipBoxAndroid
  • Canvas
  • ClickableText
  • DisableSelection
  • HorizontalPager
  • Image
  • LazyColumn
  • LazyHorizontalGrid
  • LazyHorizontalStaggeredGrid
  • LazyLayout
  • LazyLayoutPinnableItem
  • LazyRow
  • LazyVerticalGrid
  • LazyVerticalStaggeredGrid
  • SelectionContainer
  • VerticalPager
  • collectIsDraggedAsState
  • collectIsFocusedAsState
  • collectIsHoveredAsState
  • collectIsPressedAsState
  • isSystemInDarkTheme
  • rememberBasicTooltipState
  • rememberDraggable2DState
  • rememberDraggableState
  • rememberLazyGridState
  • rememberLazyListState
  • rememberLazyStaggeredGridState
  • rememberOverscrollEffect
  • rememberPagerState
  • rememberPlatformOverscrollFactory
  • rememberScrollState
  • rememberScrollable2DState
  • rememberScrollableState
  • rememberSnapFlingBehavior
  • rememberTextFieldState
  • rememberTransformableState
Modifiers
  • anchoredDraggable
  • appendTextContextMenuComponents
  • background
  • basicMarquee
  • border
  • bringIntoViewRequester
  • bringIntoViewResponder
  • clickable
  • clipScrollableContainer
  • combinedClickable
  • contentReceiver
  • dragAndDropSource
  • dragAndDropTarget
  • draggable
  • draggable2D
  • excludeFromSystemGesture
  • filterTextContextMenuComponents
  • focusGroup
  • focusable
  • handwritingDetector
  • handwritingHandler
  • horizontalScroll
  • hoverable
  • indication
  • magnifier
  • onFocusedBoundsChanged
  • overscroll
  • preferKeepClear
  • progressSemantics
  • scrollable
  • scrollable2D
  • selectable
  • selectableGroup
  • systemGestureExclusion
  • toggleable
  • transformable
  • triStateToggleable
  • verticalScroll
Classes
  • AbsoluteCutCornerShape
  • AbsoluteRoundedCornerShape
  • AnchoredDraggableState
  • AndroidExternalSurfaceZOrder
  • BorderStroke
  • CornerBasedShape
  • CutCornerShape
  • DraggableAnchorsConfig
  • ExperimentalFoundationApi
  • ExperimentalTapGestureDetectorBehaviorApi
  • GenericShape
  • GestureCancellationException
  • GridItemSpan
  • InlineTextContent
  • InternalFoundationApi
  • InternalFoundationTextApi
  • KeyboardActions
  • KeyboardOptions
  • LazyGridScopeMarker
  • LazyGridState
  • LazyLayoutIntervalContent
  • LazyLayoutPinnedItemList
  • LazyLayoutPrefetchState
  • LazyListState
  • LazyScopeMarker
  • LazyStaggeredGridState
  • MarqueeAnimationMode
  • MediaType
  • MutableIntervalList
  • MutatePriority
  • MutatorMutex
  • Orientation
  • OverscrollConfiguration
  • PagerState
  • PlatformTransferableContent
  • ProcessTextKey
  • RoundedCornerShape
  • ScrollState
  • StaggeredGridItemSpan
  • TextContextMenuBuilderScope
  • TextContextMenuComponent
  • TextContextMenuData
  • TextContextMenuItem
  • TextFieldBuffer
  • TextFieldState
  • TextObfuscationMode
  • TextSelectionColors
  • TransferableContent
  • UndoState
Interfaces
  • AnchoredDragScope
  • AndroidExternalSurfaceScope
  • BasicTooltipState
  • BringIntoViewRequester
  • BringIntoViewResponder
  • BringIntoViewSpec
  • CornerSize
  • Drag2DScope
  • DragAndDropSourceScope
  • DragInteraction
  • DragScope
  • Draggable2DState
  • DraggableAnchors
  • DraggableState
  • FlingBehavior
  • FocusInteraction
  • GridCells
  • HoverInteraction
  • Indication
  • IndicationInstance
  • IndicationNodeFactory
  • InputTransformation
  • Interaction
  • InteractionSource
  • IntervalList
  • KeyboardActionHandler
  • KeyboardActionScope
  • LazyGridItemInfo
  • LazyGridItemScope
  • LazyGridItemSpanScope
  • LazyGridLayoutInfo
  • LazyGridPrefetchResultScope
  • LazyGridPrefetchScope
  • LazyGridPrefetchStrategy
  • LazyGridScope
  • LazyItemScope
  • LazyLayoutCacheWindow
  • LazyLayoutItemProvider
  • LazyLayoutMeasurePolicy
  • LazyLayoutMeasureScope
  • LazyLayoutScrollScope
  • LazyListItemInfo
  • LazyListLayoutInfo
  • LazyListPrefetchResultScope
  • LazyListPrefetchScope
  • LazyListPrefetchStrategy
  • LazyListScope
  • LazyStaggeredGridItemInfo
  • LazyStaggeredGridItemScope
  • LazyStaggeredGridLayoutInfo
  • LazyStaggeredGridScope
  • MarqueeSpacing
  • MutableInteractionSource
  • NestedPrefetchScope
  • OutputTransformation
  • OverscrollEffect
  • OverscrollFactory
  • PageInfo
  • PageSize
  • PagerLayoutInfo
  • PagerScope
  • PagerSnapDistance
  • PrefetchRequest
  • PrefetchRequestScope
  • PrefetchScheduler
  • PressGestureScope
  • PressInteraction
  • ReceiveContentListener
  • Scroll2DScope
  • ScrollScope
  • Scrollable2DState
  • ScrollableState
  • SnapLayoutInfoProvider
  • SnapPosition
  • StaggeredGridCells
  • SurfaceCoroutineScope
  • SurfaceScope
  • TargetedFlingBehavior
  • TextAutoSize
  • TextAutoSizeLayoutScope
  • TextContextMenuDataProvider
  • TextContextMenuProvider
  • TextContextMenuSession
  • TextFieldDecorator
  • TextFieldLineLimits
  • TransformScope
  • TransformableState
Properties
  • CircleShape
  • DetectTapGesturesEnableNewDispatchingBehavior
  • LocalAutofillHighlightColor
  • LocalBackgroundTextMeasurementExecutor
  • LocalBringIntoViewSpec
  • LocalIndication
  • LocalOverscrollConfiguration
  • LocalOverscrollFactory
  • LocalTextClassifierCoroutineContext
  • LocalTextContextMenuDropdownProvider
  • LocalTextContextMenuToolbarProvider
  • LocalTextSelectionColors
  • ZeroCornerSize
Functions
  • AbsoluteCutCornerShape
  • AbsoluteRoundedCornerShape
  • allCaps
  • AnchoredDraggableState
  • animateBy
  • animatePanBy
  • animateRotateBy
  • animateScrollBy
  • animateTo
  • animateToWithDecay
  • animateZoomBy
  • appendInlineContent
  • awaitDragOrCancellation
  • awaitEachGesture
  • awaitFirstDown
  • awaitHorizontalDragOrCancellation
  • awaitHorizontalPointerSlopOrCancellation
  • awaitHorizontalTouchSlopOrCancellation
  • awaitLongPressOrCancellation
  • awaitTouchSlopOrCancellation
  • awaitVerticalDragOrCancellation
  • awaitVerticalPointerSlopOrCancellation
  • awaitVerticalTouchSlopOrCancellation
  • BasicTooltipState
  • BorderStroke
  • BringIntoViewRequester
  • byValue
  • calculateCentroid
  • calculateCentroidSize
  • calculatePan
  • calculateRotation
  • calculateZoom
  • checkScrollableContainerConstraints
  • clearText
  • consume
  • CornerSize
  • CutCornerShape
  • delete
  • detectDragGestures
  • detectDragGesturesAfterLongPress
  • detectHorizontalDragGestures
  • detectTapGestures
  • detectTransformGestures
  • detectVerticalDragGestures
  • drag
  • Draggable2DState
  • DraggableAnchors
  • DraggableState
  • forEach
  • forEachChange
  • forEachChangeReversed
  • forEachGesture
  • getDefaultLazyLayoutKey
  • GridItemSpan
  • hasMediaType
  • horizontalDrag
  • insert
  • item
  • items
  • itemsIndexed
  • KeyboardActions
  • LazyGridPrefetchStrategy
  • LazyLayoutCacheWindow
  • LazyLayoutScrollScope
  • LazyListPrefetchStrategy
  • MarqueeSpacing
  • maxLength
  • MutableInteractionSource
  • PagerState
  • panBy
  • placeCursorAtEnd
  • rotateBy
  • RoundedCornerShape
  • Scrollable2DState
  • ScrollableState
  • scrollBy
  • selectAll
  • setTextAndPlaceCursorAtEnd
  • setTextAndSelectAll
  • snapFlingBehavior
  • SnapLayoutInfoProvider
  • snapTo
  • stopScroll
  • stopTransformation
  • then
  • toTextFieldBuffer
  • TransformableState
  • verticalDrag
  • waitForUpOrCancellation
  • withoutEventHandling
  • withoutVisualEffect
  • zoomBy
Compose API Reference Compose Foundation

DragInteraction

Interface

Common
interface DragInteraction : Interaction

An interaction related to drag events.

    On this page
Composables © 2025 by Composable Horizons LLC
Resources
  • Android Distribution Chart
  • Compose Libraries
  • Compose Icons
  • View to Composable
  • Compose Tutorials
Tools
  • Compose Unstyled
  • SVG to Compose
Other
  • Airdrop for Android
  • Android Jobs
by @alexstyl