-
public final 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
AsyncDifferConfig.Builder
Builder class for AsyncDifferConfig.
-
Method Summary
Modifier and Type Method Description Executor
getMainThreadExecutor()
Executor
getBackgroundThreadExecutor()
DiffUtil.ItemCallback<T>
getDiffCallback()
-
-
Method Detail
-
getMainThreadExecutor
@Nullable() Executor getMainThreadExecutor()
-
getBackgroundThreadExecutor
@NonNull() Executor getBackgroundThreadExecutor()
-
getDiffCallback
@NonNull() DiffUtil.ItemCallback<T> getDiffCallback()
-
-
-
-