The second Android 11 Developer Preview is now available, test it out and share your feedback.

DragDirection

sealed class DragDirection
kotlin.Any
   ↳ androidx.ui.foundation.gestures.DragDirection

Draggable Direction specifies the direction in which you can drag an draggable or scrollable. It can be either Horizontal or Vertical.

Summary

Nested classes

Horizontal direction of dragging in draggable or scrollable.

Vertical direction of dragging in draggable or scrollable.