2019-10-01 14:15:45 +00:00
|
|
|
.class public final Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;
|
2019-08-20 03:53:10 +00:00
|
|
|
.super Lcom/discord/utilities/mg_recycler/MGRecyclerViewHolder;
|
|
|
|
.source "WidgetSettingsGiftingAdapter.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
2019-10-01 14:15:45 +00:00
|
|
|
value = Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter;
|
2019-08-20 03:53:10 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "EntitlementListItem"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
2019-10-01 14:15:45 +00:00
|
|
|
Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem$Companion;
|
2019-08-20 03:53:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lcom/discord/utilities/mg_recycler/MGRecyclerViewHolder<",
|
2019-10-01 14:15:45 +00:00
|
|
|
"Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter;",
|
|
|
|
"Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;",
|
2019-08-20 03:53:10 +00:00
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
.field public static final Companion:Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem$Companion;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
.field private static final VIEW_INDEX_CODE:I = 0x0
|
|
|
|
|
|
|
|
.field private static final VIEW_INDEX_GENERATE:I = 0x1
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field private final code$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final codeContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final container$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final copy$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final divider$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final flipper$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final generate$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field private final revokeText$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
2019-08-30 20:04:20 +00:00
|
|
|
.locals 6
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
const-class v0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/16 v1, 0x8
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
new-array v1, v1, [Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "flipper"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getFlipper()Lcom/discord/app/AppViewFlipper;"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x0
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "container"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getContainer()Landroid/view/View;"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x1
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "code"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getCode()Landroid/widget/TextView;"
|
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "codeContainer"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getCodeContainer()Landroid/view/View;"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "copy"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getCopy()Landroid/widget/TextView;"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x4
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "revokeText"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getRevokeText()Landroid/widget/TextView;"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x5
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "generate"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getGenerate()Landroid/view/View;"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v2, Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x6
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
new-instance v2, Lkotlin/jvm/internal/x;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v0
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
const-string v3, "divider"
|
|
|
|
|
|
|
|
const-string v4, "getDivider()Landroid/view/View;"
|
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-direct {v2, v0, v3, v4}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-17 03:51:45 +00:00
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v0
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
check-cast v0, Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x7
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v0, v1, v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sput-object v1, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
new-instance v0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem$Companion;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-direct {v0, v1}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sput-object v0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->Companion:Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem$Companion;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
.method public constructor <init>(Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "adapter"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
check-cast p1, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter;
|
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
const v0, 0x7f0d0088
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, v0, p1}, Lcom/discord/utilities/mg_recycler/MGRecyclerViewHolder;-><init>(ILcom/discord/utilities/mg_recycler/MGRecyclerAdapter;)V
|
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
const p1, 0x7f0a031b
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lkotterknife/b;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->flipper$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
const p1, 0x7f0a0318
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lkotterknife/b;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->container$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
const p1, 0x7f0a0316
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lkotterknife/b;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->code$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
const p1, 0x7f0a0317
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lkotterknife/b;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->codeContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
const p1, 0x7f0a0319
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lkotterknife/b;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->copy$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
const p1, 0x7f0a031d
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lkotterknife/b;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->revokeText$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
const p1, 0x7f0a031c
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lkotterknife/b;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->generate$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
const p1, 0x7f0a031a
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lkotterknife/b;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->divider$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
.method public static final synthetic access$getAdapter$p(Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;)Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter;
|
2019-08-20 03:53:10 +00:00
|
|
|
.locals 0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object p0, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->adapter:Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
check-cast p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getCode()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->code$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getCodeContainer()Landroid/view/View;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->codeContainer$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x3
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getContainer()Landroid/view/View;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->container$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getCopy()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->copy$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x4
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getDivider()Landroid/view/View;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->divider$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x7
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getFlipper()Lcom/discord/app/AppViewFlipper;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->flipper$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lcom/discord/app/AppViewFlipper;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getGenerate()Landroid/view/View;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->generate$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x6
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getRevokeText()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->revokeText$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x5
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-10-01 14:15:45 +00:00
|
|
|
.method protected final onConfigure(ILcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
.locals 26
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-object/from16 v0, p0
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-object/from16 v1, p2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v2, "data"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v1, v2}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-super/range {p0 .. p2}, Lcom/discord/utilities/mg_recycler/MGRecyclerViewHolder;->onConfigure(ILjava/lang/Object;)V
|
|
|
|
|
|
|
|
invoke-virtual/range {p2 .. p2}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;->getExpanded()Ljava/lang/Boolean;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sget-object v3, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v2, v3}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v3, 0x0
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v4, "itemView"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v2, :cond_0
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object v1, v0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->itemView:Landroid/view/View;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v1, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object v2, v0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->itemView:Landroid/view/View;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v2, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iput v3, v2, Landroid/view/ViewGroup$LayoutParams;->height:I
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v1, v2}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object v2, v0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->itemView:Landroid/view/View;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v2, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object v5, v0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->itemView:Landroid/view/View;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v5, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v5}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v5
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v6, -0x2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iput v6, v5, Landroid/view/ViewGroup$LayoutParams;->height:I
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v2, v5}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object v2, v0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->itemView:Landroid/view/View;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v2, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getContext()Landroid/content/Context;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v5
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual/range {p2 .. p2}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;->getEntitlement()Lcom/discord/models/domain/ModelEntitlement;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v2, :cond_7
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual/range {p2 .. p2}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;->isLastItem()Ljava/lang/Boolean;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-nez v2, :cond_1
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
goto/16 :goto_4
|
|
|
|
|
|
|
|
:cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual/range {p2 .. p2}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;->getGift()Lcom/discord/models/domain/ModelGift;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v11, 0x1
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v12, 0x0
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v13, 0x2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v2, :cond_5
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->getFlipper()Lcom/discord/app/AppViewFlipper;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v2, v3}, Lcom/discord/app/AppViewFlipper;->setDisplayedChild(I)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual/range {p2 .. p2}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;->getWasCopied()Ljava/lang/Boolean;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sget-object v6, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v2, v6}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->getCopy()Landroid/widget/TextView;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v6
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v2, :cond_2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
const v7, 0x7f08009b
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
2019-10-23 04:50:18 +00:00
|
|
|
const v7, 0x7f08009a
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
:goto_0
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v6, v7}, Landroid/widget/TextView;->setBackgroundResource(I)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->getCopy()Landroid/widget/TextView;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v6
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object v7, v0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->itemView:Landroid/view/View;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v7, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v7}, Landroid/view/View;->getContext()Landroid/content/Context;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v7
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v2, :cond_3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
const v8, 0x7f12045a
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
2019-10-28 23:46:47 +00:00
|
|
|
const v8, 0x7f12045c
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
:goto_1
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v7, v8}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v7
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast v7, Ljava/lang/CharSequence;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->getCodeContainer()Landroid/view/View;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v6
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v7, "context"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v2, :cond_4
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v5, v7}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-11 21:55:41 +00:00
|
|
|
const v2, 0x7f040151
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v5, v2, v3, v13, v12}, Lcom/discord/utilities/drawable/DrawableCompat;->getThemedDrawableRes$default(Landroid/content/Context;IIILjava/lang/Object;)I
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_4
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v5, v7}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
const v2, 0x7f0402bb
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v5, v2, v3, v13, v12}, Lcom/discord/utilities/drawable/DrawableCompat;->getThemedDrawableRes$default(Landroid/content/Context;IIILjava/lang/Object;)I
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
:goto_2
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v6, v2}, Landroid/view/View;->setBackgroundResource(I)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->getCopy()Landroid/widget/TextView;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
new-instance v6, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem$onConfigure$3;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v6, v0, v1}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem$onConfigure$3;-><init>(Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast v6, Landroid/view/View$OnClickListener;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v2, v6}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sget-object v2, Lcom/discord/utilities/gifting/GiftingUtils;->INSTANCE:Lcom/discord/utilities/gifting/GiftingUtils;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual/range {p2 .. p2}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;->getGift()Lcom/discord/models/domain/ModelGift;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v6
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-wide v7
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v6, v7, v8}, Lcom/discord/models/domain/ModelGift;->getExpiresDiff(J)J
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-wide v6
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v5}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v8
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v9, "context.resources"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v8, v9}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v2, v6, v7, v8}, Lcom/discord/utilities/gifting/GiftingUtils;->getTimeString(JLandroid/content/res/Resources;)Ljava/lang/String;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object v6, v0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->itemView:Landroid/view/View;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v6, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v6}, Landroid/view/View;->getContext()Landroid/content/Context;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v6
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
const v7, 0x7f1207cc
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
new-array v8, v11, [Ljava/lang/Object;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
aput-object v2, v8, v3
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v6, v7, v8}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v14
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v2, "itemView.context\n \u2026_mobile, expiresInString)"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v14, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/16 v17, 0x0
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/16 v18, 0x4
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/16 v19, 0x0
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v15, "revokeHook"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v16, "https://www.discordapp.com"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static/range {v14 .. v19}, Lkotlin/text/l;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Ljava/lang/String;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v20
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/16 v23, 0x0
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/16 v24, 0x4
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/16 v25, 0x0
|
2019-08-26 23:09:33 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v21, "$["
|
2019-08-26 23:09:33 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v22, "["
|
2019-08-26 23:09:33 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static/range {v20 .. v25}, Lkotlin/text/l;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Ljava/lang/String;
|
2019-08-26 23:09:33 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-26 23:09:33 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->getRevokeText()Landroid/widget/TextView;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v14
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-object v6, v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast v6, Ljava/lang/CharSequence;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
new-instance v2, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem$onConfigure$4;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v2, v0, v1}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem$onConfigure$4;-><init>(Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-object v7, v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast v7, Lkotlin/jvm/functions/Function2;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v8, 0x0
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/16 v9, 0x8
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v10, 0x0
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static/range {v5 .. v10}, Lcom/discord/utilities/textprocessing/Parsers;->parseMaskedLinks$default(Landroid/content/Context;Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ljava/lang/CharSequence;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v14, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->getCode()Landroid/widget/TextView;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sget-object v5, Lcom/discord/utilities/gifting/GiftingUtils;->INSTANCE:Lcom/discord/utilities/gifting/GiftingUtils;
|
|
|
|
|
|
|
|
invoke-virtual/range {p2 .. p2}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;->getGift()Lcom/discord/models/domain/ModelGift;
|
|
|
|
|
|
|
|
move-result-object v6
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v6}, Lcom/discord/models/domain/ModelGift;->getCode()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
invoke-virtual {v5, v6}, Lcom/discord/utilities/gifting/GiftingUtils;->generateGiftUrl(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
check-cast v5, Ljava/lang/CharSequence;
|
|
|
|
|
|
|
|
invoke-virtual {v2, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_5
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->getFlipper()Lcom/discord/app/AppViewFlipper;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v2, v11}, Lcom/discord/app/AppViewFlipper;->setDisplayedChild(I)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->getGenerate()Landroid/view/View;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
new-instance v5, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem$onConfigure$5;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v5, v0, v1}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem$onConfigure$5;-><init>(Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast v5, Landroid/view/View$OnClickListener;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v2, v5}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
:goto_3
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->getDivider()Landroid/view/View;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual/range {p2 .. p2}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;->isLastItem()Ljava/lang/Boolean;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v5
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v5}, Ljava/lang/Boolean;->booleanValue()Z
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v5
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
xor-int/2addr v5, v11
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v2, v5, v3, v13, v12}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual/range {p2 .. p2}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;->isLastItem()Ljava/lang/Boolean;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v1
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v1
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v1, :cond_6
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->getContainer()Landroid/view/View;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v1
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object v2, v0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->itemView:Landroid/view/View;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v2, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getContext()Landroid/content/Context;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v4, "itemView.context"
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v2, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
const v4, 0x7f0402b8
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v2, v4, v3, v13, v12}, Lcom/discord/utilities/drawable/DrawableCompat;->getThemedDrawableRes$default(Landroid/content/Context;IIILjava/lang/Object;)I
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundResource(I)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_6
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->getContainer()Landroid/view/View;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v1
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object v2, v0, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->itemView:Landroid/view/View;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v2, v4}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getContext()Landroid/content/Context;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-28 23:46:47 +00:00
|
|
|
const v3, 0x7f0402b6
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v2, v3}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroid/content/Context;I)I
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v2
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundColor(I)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
:cond_7
|
|
|
|
:goto_4
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final bridge synthetic onConfigure(ILjava/lang/Object;)V
|
|
|
|
.locals 0
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
check-cast p2, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$EntitlementListItem;->onConfigure(ILcom/discord/widgets/settings/premium/WidgetSettingsGiftingAdapter$GiftItem;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|