2019-12-06 03:29:40 +00:00
|
|
|
.class public final Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;
|
2019-07-24 11:27:29 +00:00
|
|
|
.super Lcom/discord/utilities/views/SimpleRecyclerAdapter$ViewHolder;
|
2019-08-21 02:12:52 +00:00
|
|
|
.source "WidgetOauth2Authorize.kt"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
2019-08-21 02:12:52 +00:00
|
|
|
value = Lcom/discord/widgets/auth/WidgetOauth2Authorize;
|
2019-07-24 11:27:29 +00:00
|
|
|
.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 = "OAuthPermissionViewHolder"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lcom/discord/utilities/views/SimpleRecyclerAdapter$ViewHolder<",
|
2019-08-21 02:12:52 +00:00
|
|
|
"Lcom/discord/widgets/auth/WidgetOauth2Authorize$PermissionModel;",
|
2019-07-24 11:27:29 +00:00
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-03-29 18:47:20 +00:00
|
|
|
.field public final iconIv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final nameTv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static constructor <clinit>()V
|
2019-08-30 20:04:20 +00:00
|
|
|
.locals 6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-class v0, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v1, 0x2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
new-array v1, v1, [Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v2, Lx/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v0}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
const-string v4, "iconIv"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
const-string v5, "getIconIv()Landroid/widget/ImageView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v3, Lx/u/b/w;->a:Lx/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v3, v2}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const/4 v3, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
aput-object v2, v1, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v2, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v3, Lx/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v0}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
const-string v4, "nameTv"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
const-string v5, "getNameTv()Landroid/widget/TextView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v3, v0, v4, v5}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v0, Lx/u/b/w;->a:Lx/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v0, v3}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v3, v1, v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
sput-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(Landroid/view/View;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/utilities/views/SimpleRecyclerAdapter$ViewHolder;-><init>(Landroid/view/View;)V
|
|
|
|
|
2020-05-07 22:12:04 +00:00
|
|
|
const p1, 0x7f0a05e1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-05-07 22:12:04 +00:00
|
|
|
invoke-static {p0, p1}, Le/o/a/j/a;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;->iconIv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-05-07 22:12:04 +00:00
|
|
|
const p1, 0x7f0a05e2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-05-07 22:12:04 +00:00
|
|
|
invoke-static {p0, p1}, Le/o/a/j/a;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;->nameTv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "itemView"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {p1}, Lx/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
|
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
.method private final getIconIv()Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 3
|
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;->iconIv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
const/4 v2, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
check-cast v0, Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getNameTv()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;->nameTv$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
const/4 v2, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
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-12-06 03:29:40 +00:00
|
|
|
.method public bind(Lcom/discord/widgets/auth/WidgetOauth2Authorize$PermissionModel;)V
|
2020-03-29 18:47:20 +00:00
|
|
|
.locals 2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
if-eqz p1, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$PermissionModel;->getScope()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
move-result-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
if-eqz v0, :cond_0
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;->getIconIv()Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-05-07 22:12:04 +00:00
|
|
|
const v1, 0x7f080294
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
sget-object v0, Lcom/discord/views/OAuthPermissionViews;->a:Lcom/discord/views/OAuthPermissionViews;
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;->getNameTv()Landroid/widget/TextView;
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$PermissionModel;->getScope()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
invoke-virtual {v0, v1, p1}, Lcom/discord/views/OAuthPermissionViews;->a(Landroid/widget/TextView;Ljava/lang/String;)V
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-08-06 02:07:27 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-03-29 18:47:20 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$PermissionModel;->getFakeText()Ljava/lang/Integer;
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;->getIconIv()Landroid/widget/ImageView;
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
move-result-object v0
|
|
|
|
|
2020-05-07 22:12:04 +00:00
|
|
|
const v1, 0x7f0802a6
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;->getNameTv()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object v0
|
2020-01-02 21:43:52 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$PermissionModel;->getFakeText()Ljava/lang/Integer;
|
2019-08-06 02:07:27 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
move-result p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
:cond_1
|
|
|
|
:goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
return-void
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-29 18:47:20 +00:00
|
|
|
:cond_2
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p1, "data"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {p1}, Lx/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
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public bridge synthetic bind(Ljava/lang/Object;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 0
|
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
check-cast p1, Lcom/discord/widgets/auth/WidgetOauth2Authorize$PermissionModel;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-21 02:12:52 +00:00
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;->bind(Lcom/discord/widgets/auth/WidgetOauth2Authorize$PermissionModel;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|