apkfuckery/com.discord/smali/e/a/j/a.smali
2019-12-06 04:29:40 +01:00

80 lines
1.8 KiB
Smali

.class public final Le/a/j/a;
.super Ljava/lang/Object;
.source "ActiveSubscriptionView.kt"
# interfaces
.implements Landroid/widget/AdapterView$OnItemSelectedListener;
# instance fields
.field public final synthetic d:Ljava/util/List;
.field public final synthetic e:Lkotlin/jvm/functions/Function1;
# direct methods
.method public constructor <init>(Ljava/util/List;Lkotlin/jvm/functions/Function1;)V
.locals 0
iput-object p1, p0, Le/a/j/a;->d:Ljava/util/List;
iput-object p2, p0, Le/a/j/a;->e:Lkotlin/jvm/functions/Function1;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onItemSelected(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/widget/AdapterView<",
"*>;",
"Landroid/view/View;",
"IJ)V"
}
.end annotation
if-nez p3, :cond_0
return-void
:cond_0
iget-object p1, p0, Le/a/j/a;->d:Ljava/util/List;
invoke-interface {p1, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/discord/views/ActiveSubscriptionView$DropdownItem;
iget-object p2, p0, Le/a/j/a;->e:Lkotlin/jvm/functions/Function1;
if-eqz p2, :cond_1
invoke-interface {p2, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lkotlin/Unit;
:cond_1
return-void
.end method
.method public onNothingSelected(Landroid/widget/AdapterView;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/widget/AdapterView<",
"*>;)V"
}
.end annotation
return-void
.end method