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

withDirections

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

Set custom movement flags to dictate which swipe 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.