102 lines
3.4 KiB
Smali
102 lines
3.4 KiB
Smali
.class public final Lcom/discord/widgets/roles/RolesListView$updateView$$inlined$forEach$lambda$1;
|
|
.super Ljava/lang/Object;
|
|
.source "RolesListView.kt"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/View$OnClickListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/roles/RolesListView;->updateView(Ljava/util/List;I)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $developerModeEnabled$inlined:Z
|
|
|
|
.field public final synthetic $role:Lcom/discord/models/domain/ModelGuildRole;
|
|
|
|
.field public final synthetic $roleDefaultColor$inlined:I
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/roles/RolesListView;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/models/domain/ModelGuildRole;Lcom/discord/widgets/roles/RolesListView;IZ)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/roles/RolesListView$updateView$$inlined$forEach$lambda$1;->$role:Lcom/discord/models/domain/ModelGuildRole;
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/roles/RolesListView$updateView$$inlined$forEach$lambda$1;->this$0:Lcom/discord/widgets/roles/RolesListView;
|
|
|
|
iput p3, p0, Lcom/discord/widgets/roles/RolesListView$updateView$$inlined$forEach$lambda$1;->$roleDefaultColor$inlined:I
|
|
|
|
iput-boolean p4, p0, Lcom/discord/widgets/roles/RolesListView$updateView$$inlined$forEach$lambda$1;->$developerModeEnabled$inlined:Z
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onClick(Landroid/view/View;)V
|
|
.locals 5
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/roles/RolesListView$updateView$$inlined$forEach$lambda$1;->this$0:Lcom/discord/widgets/roles/RolesListView;
|
|
|
|
invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "context"
|
|
|
|
invoke-static {p1, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/roles/RolesListView$updateView$$inlined$forEach$lambda$1;->$role:Lcom/discord/models/domain/ModelGuildRole;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelGuildRole;->getId()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/roles/RolesListView$updateView$$inlined$forEach$lambda$1;->this$0:Lcom/discord/widgets/roles/RolesListView;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
iget-object v3, p0, Lcom/discord/widgets/roles/RolesListView$updateView$$inlined$forEach$lambda$1;->$role:Lcom/discord/models/domain/ModelGuildRole;
|
|
|
|
invoke-virtual {v3}, Lcom/discord/models/domain/ModelGuildRole;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "role.name"
|
|
|
|
invoke-static {v3, v4}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v4, 0x0
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
const v3, 0x7f121360
|
|
|
|
invoke-static {v1, v3, v2}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getString(Landroid/view/View;I[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {p1, v0, v1}, Lf/a/b/n;->b(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|