setBackgroundThreadExecutor
open fun setBackgroundThreadExecutor(@Nullable executor: Executor): AsyncDifferConfig.Builder<T>(source)
If provided, defines the background executor used to calculate the diff between an old and a new list.
If not provided or null, defaults to two thread pool executor, shared by all ListAdapterConfigs.
Return
this
Parameters
executor
The background executor to run list diffing.