apkfuckery/com.discord/smali/androidx/recyclerview/widget/AsyncDifferConfig.smali
2019-08-30 22:04:20 +02:00

93 lines
2.9 KiB
Smali

.class public final Landroidx/recyclerview/widget/AsyncDifferConfig;
.super Ljava/lang/Object;
.source "AsyncDifferConfig.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/recyclerview/widget/AsyncDifferConfig$Builder;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# instance fields
.field private final mBackgroundThreadExecutor:Ljava/util/concurrent/Executor;
.field private final mDiffCallback:Landroidx/recyclerview/widget/DiffUtil$ItemCallback;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/recyclerview/widget/DiffUtil$ItemCallback<",
"TT;>;"
}
.end annotation
.end field
.field private final mMainThreadExecutor:Ljava/util/concurrent/Executor;
# direct methods
.method constructor <init>(Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;Landroidx/recyclerview/widget/DiffUtil$ItemCallback;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/Executor;",
"Ljava/util/concurrent/Executor;",
"Landroidx/recyclerview/widget/DiffUtil$ItemCallback<",
"TT;>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/recyclerview/widget/AsyncDifferConfig;->mMainThreadExecutor:Ljava/util/concurrent/Executor;
iput-object p2, p0, Landroidx/recyclerview/widget/AsyncDifferConfig;->mBackgroundThreadExecutor:Ljava/util/concurrent/Executor;
iput-object p3, p0, Landroidx/recyclerview/widget/AsyncDifferConfig;->mDiffCallback:Landroidx/recyclerview/widget/DiffUtil$ItemCallback;
return-void
.end method
# virtual methods
.method public final getBackgroundThreadExecutor()Ljava/util/concurrent/Executor;
.locals 1
iget-object v0, p0, Landroidx/recyclerview/widget/AsyncDifferConfig;->mBackgroundThreadExecutor:Ljava/util/concurrent/Executor;
return-object v0
.end method
.method public final getDiffCallback()Landroidx/recyclerview/widget/DiffUtil$ItemCallback;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Landroidx/recyclerview/widget/DiffUtil$ItemCallback<",
"TT;>;"
}
.end annotation
iget-object v0, p0, Landroidx/recyclerview/widget/AsyncDifferConfig;->mDiffCallback:Landroidx/recyclerview/widget/DiffUtil$ItemCallback;
return-object v0
.end method
.method public final getMainThreadExecutor()Ljava/util/concurrent/Executor;
.locals 1
iget-object v0, p0, Landroidx/recyclerview/widget/AsyncDifferConfig;->mMainThreadExecutor:Ljava/util/concurrent/Executor;
return-object v0
.end method