RowBlockMove

class RowBlockMove(val blockId: Any?, val movedKeys: List<Any>, val afterKey: Any?, val beforeKey: Any?)

The result of one completed block-drag gesture, expressed in stable row keys so it stays meaningful however the consumer's pipeline reorders or filters the source afterwards.

Anchors are keys of the rendered (possibly filtered) list. beforeKey is deliberately redundant: when afterKey is hidden or gone by the time the consumer applies the move, the second anchor still pins the destination.

Constructors

Link copied to clipboard
constructor(blockId: Any?, movedKeys: List<Any>, afterKey: Any?, beforeKey: Any?)

Properties

Link copied to clipboard

Key of the row the unit now sits after, in the rendered order; null = start.

Link copied to clipboard

Key of the row the unit now sits before; null = end. Redundant anchor for edge cases.

Link copied to clipboard
val blockId: Any?

Block id of the dragged unit; null when a standalone row moved.

Link copied to clipboard

Keys of the VISIBLE moved rows, in order.