-
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 classAsyncDifferConfig.BuilderBuilder class for AsyncDifferConfig.
-
Method Summary
Modifier and Type Method Description ExecutorgetMainThreadExecutor()ExecutorgetBackgroundThreadExecutor()DiffUtil.ItemCallback<T>getDiffCallback()-
-
Method Detail
-
getMainThreadExecutor
@Nullable() Executor getMainThreadExecutor()
-
getBackgroundThreadExecutor
@NonNull() Executor getBackgroundThreadExecutor()
-
getDiffCallback
@NonNull() DiffUtil.ItemCallback<T> getDiffCallback()
-
-
-
-