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 | |
---|---|
![]()
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.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"last_modified": "Last updated 2024-04-11 UTC.",
"state": ""
}