apkfuckery/com.discord/smali/com/discord/widgets/channels/WidgetChannelSelector$Adapt...

114 lines
3.4 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Lcom/discord/widgets/channels/WidgetChannelSelector$Adapter;
2019-07-24 11:27:29 +00:00
.super Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;
.source "WidgetChannelSelector.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/channels/WidgetChannelSelector;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x19
2019-07-24 11:27:29 +00:00
name = "Adapter"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/discord/widgets/channels/WidgetChannelSelector$Adapter$ItemChannel;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple<",
"Lcom/discord/widgets/channels/WidgetChannelSelector$Model$Item;",
">;"
}
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final dialog:Lcom/discord/widgets/channels/WidgetChannelSelector;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final noChannelStringId:I
2019-07-24 11:27:29 +00:00
# direct methods
.method public constructor <init>(Landroidx/recyclerview/widget/RecyclerView;Lcom/discord/widgets/channels/WidgetChannelSelector;I)V
.locals 1
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p2, :cond_0
2019-07-24 11:27:29 +00:00
invoke-direct {p0, p1}, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;-><init>(Landroidx/recyclerview/widget/RecyclerView;)V
iput-object p2, p0, Lcom/discord/widgets/channels/WidgetChannelSelector$Adapter;->dialog:Lcom/discord/widgets/channels/WidgetChannelSelector;
iput p3, p0, Lcom/discord/widgets/channels/WidgetChannelSelector$Adapter;->noChannelStringId:I
return-void
2019-12-06 03:29:40 +00:00
:cond_0
const-string p1, "dialog"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_1
const-string p1, "recycler"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-07-24 11:27:29 +00:00
.end method
.method public static final synthetic access$getDialog$p(Lcom/discord/widgets/channels/WidgetChannelSelector$Adapter;)Lcom/discord/widgets/channels/WidgetChannelSelector;
.locals 0
iget-object p0, p0, Lcom/discord/widgets/channels/WidgetChannelSelector$Adapter;->dialog:Lcom/discord/widgets/channels/WidgetChannelSelector;
return-object p0
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public bridge synthetic onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
2019-07-24 11:27:29 +00:00
.locals 0
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/channels/WidgetChannelSelector$Adapter;->onCreateViewHolder(Landroid/view/ViewGroup;I)Lcom/discord/widgets/channels/WidgetChannelSelector$Adapter$ItemChannel;
move-result-object p1
return-object p1
.end method
2019-12-06 03:29:40 +00:00
.method public onCreateViewHolder(Landroid/view/ViewGroup;I)Lcom/discord/widgets/channels/WidgetChannelSelector$Adapter$ItemChannel;
2019-07-24 11:27:29 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_0
2019-07-24 11:27:29 +00:00
new-instance p1, Lcom/discord/widgets/channels/WidgetChannelSelector$Adapter$ItemChannel;
2020-02-29 02:28:15 +00:00
const p2, 0x7f0d0134
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v0, p0, Lcom/discord/widgets/channels/WidgetChannelSelector$Adapter;->noChannelStringId:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {p1, p2, p0, v0}, Lcom/discord/widgets/channels/WidgetChannelSelector$Adapter$ItemChannel;-><init>(ILcom/discord/widgets/channels/WidgetChannelSelector$Adapter;I)V
2019-07-24 11:27:29 +00:00
return-object p1
2019-12-06 03:29:40 +00:00
:cond_0
const-string p1, "parent"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
2019-07-24 11:27:29 +00:00
.end method