119 lines
3.0 KiB
Smali
119 lines
3.0 KiB
Smali
.class public final LWidgetChoosePlanAdapter;
|
|
.super Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;
|
|
.source "WidgetChoosePlanAdapter.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
LWidgetChoosePlanAdapter$Item;,
|
|
LWidgetChoosePlanAdapter$c;,
|
|
LWidgetChoosePlanAdapter$a;,
|
|
LWidgetChoosePlanAdapter$b;,
|
|
LWidgetChoosePlanAdapter$d;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple<",
|
|
"LWidgetChoosePlanAdapter$Item;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public a:Lkotlin/jvm/functions/Function3;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/jvm/functions/Function3<",
|
|
"-",
|
|
"Lcom/discord/utilities/billing/GooglePlaySku;",
|
|
"-",
|
|
"Ljava/lang/String;",
|
|
"-",
|
|
"Lcom/android/billingclient/api/SkuDetails;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/recyclerview/widget/RecyclerView;)V
|
|
.locals 1
|
|
|
|
const-string v0, "recycler"
|
|
|
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;-><init>(Landroidx/recyclerview/widget/RecyclerView;)V
|
|
|
|
sget-object p1, LWidgetChoosePlanAdapter$e;->d:LWidgetChoosePlanAdapter$e;
|
|
|
|
iput-object p1, p0, LWidgetChoosePlanAdapter;->a:Lkotlin/jvm/functions/Function3;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
.locals 1
|
|
|
|
const-string v0, "parent"
|
|
|
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
const/4 p1, 0x1
|
|
|
|
if-eq p2, p1, :cond_2
|
|
|
|
const/4 p1, 0x2
|
|
|
|
if-eq p2, p1, :cond_1
|
|
|
|
const/4 p1, 0x3
|
|
|
|
if-ne p2, p1, :cond_0
|
|
|
|
new-instance p1, LWidgetChoosePlanAdapter$b;
|
|
|
|
invoke-direct {p1, p0}, LWidgetChoosePlanAdapter$b;-><init>(LWidgetChoosePlanAdapter;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-virtual {p0, p2}, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter;->invalidViewTypeException(I)Ljava/lang/IllegalArgumentException;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
new-instance p1, LWidgetChoosePlanAdapter$a;
|
|
|
|
invoke-direct {p1, p0}, LWidgetChoosePlanAdapter$a;-><init>(LWidgetChoosePlanAdapter;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
new-instance p1, LWidgetChoosePlanAdapter$d;
|
|
|
|
invoke-direct {p1, p0}, LWidgetChoosePlanAdapter$d;-><init>(LWidgetChoosePlanAdapter;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
new-instance p1, LWidgetChoosePlanAdapter$c;
|
|
|
|
invoke-direct {p1, p0}, LWidgetChoosePlanAdapter$c;-><init>(LWidgetChoosePlanAdapter;)V
|
|
|
|
:goto_0
|
|
return-object p1
|
|
.end method
|