AsyncDifferConfig


class 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.

Parameters
<T>

Type of items in the lists, and being compared.

Summary

Nested types

Builder class for AsyncDifferConfig.

Public functions

getBackgroundThreadExecutor

Added in 1.0.0
fun getBackgroundThreadExecutor(): Executor

getDiffCallback

Added in 1.0.0
fun getDiffCallback(): DiffUtil.ItemCallback<T!>