Builder

class Builder<T>(source)

Builder class for AsyncDifferConfig.

Parameters

<T>

Constructors

Link copied to clipboard
constructor(@NonNull diffCallback: DiffUtil.ItemCallback<T>)

Functions

Link copied to clipboard
Creates a AsyncListDiffer with the given parameters.
Link copied to clipboard
If provided, defines the background executor used to calculate the diff between an old and a new list.
Link copied to clipboard
If provided, defines the main thread executor used to dispatch adapter update notifications on the main thread.