added in version 27.1.0
belongs to Maven artifact com.android.support:recyclerview-v7:28.0.0-alpha1
belongs to Maven artifact com.android.support:recyclerview-v7:28.0.0-alpha1
AsyncDifferConfig
public
final
class
AsyncDifferConfig
extends Object
java.lang.Object | |
↳ | android.support.v7.recyclerview.extensions.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 | |
---|---|
From
class
java.lang.Object
|
Public methods
getBackgroundThreadExecutor
added in version 27.1.0
Executor getBackgroundThreadExecutor ()
Returns | |
---|---|
Executor |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-11 UTC."],[],[]]