clearAndNotify

Clear the dataSet and notify that all items in the adapter have been removed.

Usage:

// The [dataSet] must belong to the adapter and reflected in [itemCount].
adapter.clearAndNotify(dataSet)

Receiver

RecyclerView.Adapter

Parameters

dataSet

the data set to be cleared.

See also