onChanged

abstract fun onChanged(position: Int, count: Int, @Nullable payload: Any)(source)

Called when count number of items are updated at the given position.

Parameters

position

The position of the item which has been updated.

count

The number of items which has changed.

payload

The payload for the changed items.