updatePayload abstract method

T updatePayload(
  1. T originalPayload,
  2. List<ReorderableItem> newItems
)

Implement in subclasses to update the payload with the new list of items.

Implementation

T updatePayload(T originalPayload, List<ReorderableItem> newItems);