PagedListListener

interface PagedListListener<T : Any>
androidx.paging.AsyncPagedListDiffer.PagedListListener

Listener for when the current PagedList is updated.

Summary

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

Called after the current PagedList has been updated.

Public methods

onCurrentListChanged

abstract 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.