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

SwipeBuilder

open class SwipeBuilder

Functions

left

open fun left(): EpoxyTouchHelper.SwipeBuilder2!

Enable swiping left.

leftAndRight

open fun leftAndRight(): EpoxyTouchHelper.SwipeBuilder2!

Enable swiping horizontally, left and right.

right

open fun right(): EpoxyTouchHelper.SwipeBuilder2!

Enable swiping right.

withDirections

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

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