AsyncDifferConfig
public
final
class
AsyncDifferConfig
extends Object
java.lang.Object | |
↳ | androidx.recyclerview.widget.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.
Summary
Nested classes | |
---|---|
class |
AsyncDifferConfig.Builder<T>
Builder class for |
Public methods | |
---|---|
Executor
|
getBackgroundThreadExecutor()
|
ItemCallback<T>
|
getDiffCallback()
|
Inherited methods | |
---|---|
Public methods
getBackgroundThreadExecutor
public Executor getBackgroundThreadExecutor ()
Returns | |
---|---|
Executor |
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-24 UTC.