updateDrag
fun updateDrag(deltaY: Double, layout: CardListLayout, cards: List<CardLayoutItem>, params: CardListLayoutParameters): DragUpdateResult
Updates the active drag gesture by deltaY.
Return
DragUpdateResult indicating whether the card swapped index positions.
Parameters
deltaY
vertical translation delta.
layout
computed CardListLayout.
cards
list of cards in current display order.
params
layout configuration parameters.