added in version 1.0.0
belongs to Maven artifact androidx.recyclerview:recyclerview:1.0.0-beta01

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

added in version 1.0.0
public Executor getBackgroundThreadExecutor ()

Returns
Executor

getDiffCallback

added in version 1.0.0
public ItemCallback<T> getDiffCallback ()

Returns
ItemCallback<T>