added in version 27.1.0
belongs to Maven artifact com.android.support:recyclerview-v7:28.0.0-alpha1

AsyncDifferConfig

public final class AsyncDifferConfig
extends Object

java.lang.Object
   ↳ android.support.v7.recyclerview.extensions.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

From class java.lang.Object

Public methods

getBackgroundThreadExecutor

added in version 27.1.0
Executor getBackgroundThreadExecutor ()

Returns
Executor

getDiffCallback

added in version 27.1.0
ItemCallback<T> getDiffCallback ()

Returns
ItemCallback<T>