AsyncPagedListDiffer.PagedListListener

Added in 2.1.0
Deprecated in 3.0.0


Listener for when the current PagedList is updated.

Parameters
<T : Any>

Type of items in PagedList

Summary

Public functions

Unit
onCurrentListChanged(
    previousList: PagedList<T>?,
    currentList: PagedList<T>?
)

Called after the current PagedList has been updated.

android

Public functions

onCurrentListChanged

fun onCurrentListChanged(
    previousList: PagedList<T>?,
    currentList: PagedList<T>?
): Unit

Called after the current PagedList has been updated.

Parameters
previousList: PagedList<T>?

The previous list, may be null.

currentList: PagedList<T>?

The new current list, may be null.