SupportPagedListAdapter

constructor(differCallback: DiffUtil.ItemCallback<T>, supportsStableIds: Boolean = false)

Parameters

differCallback

Callback for calculating the diff between two non-null items in a list.

supportsStableIds

Sets PagedListAdapter.setHasStableIds which is defaulted to true