{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

androidx.compose.foundation.gestures

Interfaces

DragScope

Scope used for suspending drag blocks

DraggableState

State of draggable.

FlingBehavior

Interface to specify fling behavior.

PressGestureScope

Receiver scope for detectTapGestures's onPress lambda.

ScrollScope

Scope used for suspending scroll blocks

ScrollableState

An object representing something that can be scrolled.

TransformScope

Scope used for suspending transformation operations

TransformableState

State of transformable.

Classes

DragGestureDetectorKt
DraggableKt
ForEachGestureKt
ScrollExtensionsKt
ScrollableKt
ScrollableStateKt
TapGestureDetectorKt
TransformGestureDetectorKt
TransformableKt
TransformableStateKt
ScrollableDefaults

Contains the default values used by scrollable

Enums

Orientation

Class to define possible directions in which common gesture modifiers like draggable and scrollable can drag.

Exceptions

GestureCancellationException

A gesture was canceled and cannot continue, likely because another gesture has taken over the pointer input stream.