epoxy-adapter / com.airbnb.epoxy / EpoxyTouchHelper / DragBuilder2 / withDirections

withDirections

open fun withDirections(directionFlags: Int): EpoxyTouchHelper.DragBuilder3!

Set custom movement flags to dictate which drag directions should be allowed.

Can be any of ItemTouchHelper#LEFT, ItemTouchHelper#RIGHT, , ItemTouchHelper#DOWN, ItemTouchHelper#START,

Flags can be OR'd together to allow multiple directions.