setDragged

open fun setDragged(dragged: Boolean)

Call this when the Card is being dragged to apply the right color and elevation changes.

Parameters

dragged

whether the card is currently being dragged or at rest.