92 lines
2.6 KiB
Smali
92 lines
2.6 KiB
Smali
|
.class public final Lcom/discord/widgets/settings/premium/WidgetSettingsPremium$configureSpinner$1;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "WidgetSettingsPremium.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Landroid/widget/AdapterView$OnItemSelectedListener;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/discord/widgets/settings/premium/WidgetSettingsPremium;->configureSpinner(Ljava/util/List;Lkotlin/jvm/functions/Function1;Z)V
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x19
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final synthetic $dropdownItems:Ljava/util/List;
|
||
|
|
||
|
.field public final synthetic $onDropdownItemSelected:Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Ljava/util/List;Lkotlin/jvm/functions/Function1;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsPremium$configureSpinner$1;->$dropdownItems:Ljava/util/List;
|
||
|
|
||
|
iput-object p2, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsPremium$configureSpinner$1;->$onDropdownItemSelected: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, Lcom/discord/widgets/settings/premium/WidgetSettingsPremium$configureSpinner$1;->$dropdownItems:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {p1, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
check-cast p1, Lcom/discord/widgets/settings/premium/PaymentSourcesSpinnerAdapter$DropdownItem;
|
||
|
|
||
|
iget-object p2, p0, Lcom/discord/widgets/settings/premium/WidgetSettingsPremium$configureSpinner$1;->$onDropdownItemSelected: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
|