AsyncDifferConfig

class AsyncDifferConfig<T : Any!>
kotlin.Any
   ↳ androidx.recyclerview.widget.AsyncDifferConfig

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

Builder class for AsyncDifferConfig.

Public methods
Executor

DiffUtil.ItemCallback<T>

Public methods

getBackgroundThreadExecutor

fun getBackgroundThreadExecutor(): Executor

getDiffCallback

fun getDiffCallback(): DiffUtil.ItemCallback<T>