AsyncPagedListDiffer.PagedListListener

Added in 2.1.0
Deprecated in 3.0.0

public interface AsyncPagedListDiffer.PagedListListener<T extends Object>


Listener for when the current PagedList is updated.

Parameters
<T extends Object>

Type of items in PagedList

Summary

Public methods

abstract void
onCurrentListChanged(
    PagedList<@NonNull T> previousList,
    PagedList<@NonNull T> currentList
)

Called after the current PagedList has been updated.

Public methods

onCurrentListChanged

Added in 2.1.0
Deprecated in 3.0.0
abstract void onCurrentListChanged(
    PagedList<@NonNull T> previousList,
    PagedList<@NonNull T> currentList
)

Called after the current PagedList has been updated.

Parameters
PagedList<@NonNull T> previousList

The previous list, may be null.

PagedList<@NonNull T> currentList

The new current list, may be null.