AsyncDifferConfig

public final class AsyncDifferConfig
extends Object

java.lang.Object
   ↳ androidx.recyclerview.widget.AsyncDifferConfig<T>


Configuration object for ListAdapter, AsyncListDiffer, and similar background-thread list diffing adapter logic.

At minimum, defines item diffing behavior with a DiffUtil.ItemCallback, used to compute item differences to pass to a RecyclerView adapter.

Summary

Nested classes

class AsyncDifferConfig.Builder<T>

Builder class for AsyncDifferConfig

Public methods

Executor getBackgroundThreadExecutor()
ItemCallback<T> getDiffCallback()

Inherited methods

Public methods

getBackgroundThreadExecutor

public Executor getBackgroundThreadExecutor ()

Returns
Executor

getDiffCallback

public ItemCallback<T> getDiffCallback ()

Returns
ItemCallback<T>