startDrag

fun startDrag(cardIdentifier: String, layout: CardListLayout, cards: List<CardLayoutItem>, params: CardListLayoutParameters): Boolean

Initiates a drag gesture for the card with cardIdentifier.

Return

true if the drag was successfully started, false otherwise.

Parameters

cardIdentifier

identifier of the card to drag.

layout

computed CardListLayout.

cards

list of cards in current display order.

params

layout configuration parameters.