notifyItemRangeRemoved

fun notifyItemRangeRemoved(positionStart: Int, itemCount: Int)(source)

Notify any registered observers that the itemCount items previously located at positionStart have been removed from the data set. The items previously located at and after positionStart + itemCount may now be found at oldPosition - itemCount.

This is a structural change event. Representations of other existing items in the data set are still considered up to date and will not be rebound, though their positions may be altered.

Parameters

positionStart

Previous position of the first item that was removed

itemCount

Number of items removed from the data set