DragBuilder2

open class DragBuilder2

Functions

forGrid
Link copied to clipboard
open fun forGrid(): EpoxyTouchHelper.DragBuilder3
Enable dragging in all directions.
forHorizontalList
Link copied to clipboard
open fun forHorizontalList(): EpoxyTouchHelper.DragBuilder3
Enable dragging horizontally, left and right.
forVerticalList
Link copied to clipboard
open fun forVerticalList(): EpoxyTouchHelper.DragBuilder3
Enable dragging vertically, up and down.
withDirections
Link copied to clipboard
open fun withDirections(directionFlags: Int): EpoxyTouchHelper.DragBuilder3
Set custom movement flags to dictate which drag directions should be allowed.