Register now for Android Dev Summit 2019!

PagedListListener

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

Listener for when the current PagedList is updated.

Summary

Public methods

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

Called after the current PagedList has been updated.

Public methods

onCurrentListChanged

abstract fun onCurrentListChanged(@Nullable previousList: PagedList<T>?, @Nullable 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.