Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

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>