onItemRemoved

open fun onItemRemoved(    context: EventContext,     itemIndex: Long,     previousItemData: JSONObject)

This callback is invoked when SyncList item has been removed by a local request.

Parameters

context

Context indicating if change was local or remote.

itemIndex

List index of the item that has been removed.

previousItemData

Snapshot of the deleted list item in the state immediately prior to deleteion.