Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

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

@NonNull fun getBackgroundThreadExecutor(): Executor

getDiffCallback

@NonNull fun getDiffCallback(): DiffUtil.ItemCallback<T>