onCurrentListChanged

open fun onCurrentListChanged(@NonNull previousList: List<T>, @NonNull currentList: List<T>)(source)

Called when the current List is updated.

If a null List is passed to submitList, or no List has been submitted, the current List is represented as an empty List.

Parameters

previousList

List that was displayed previously.

currentList

new List being displayed, will be empty if null was passed to submitList.

See also