AsyncPagedListDiffer.PagedListListener

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(
    @Nullable PagedList<@NonNull T> previousList,
    @Nullable PagedList<@NonNull T> currentList
)

Called after the current PagedList has been updated.

Public methods

onCurrentListChanged

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

Called after the current PagedList has been updated.

Parameters
@Nullable PagedList<@NonNull T> previousList

The previous list, may be null.

@Nullable PagedList<@NonNull T> currentList

The new current list, may be null.