ChooseCountryActivity$2.smali
.class final Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity$2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/widget/AdapterView$OnItemSelectedListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity;
# direct methods
.method constructor <init>(Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity;)V
.registers 2
.line 75
iput-object p1, p0, Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity$2;->a:Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onItemSelected(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/widget/AdapterView<",
"*>;",
"Landroid/view/View;",
"IJ)V"
}
.end annotation
.line 78
sget-object p1, Lsg/bigo/live/support64/activity/debug/a;->e:Ljava/util/List;
invoke-interface {p1, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lsg/bigo/live/support64/activity/debug/a;
.line 79
iget-object p2, p0, Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity$2;->a:Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity;
invoke-static {p2, p1}, Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity;->a(Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity;Lsg/bigo/live/support64/activity/debug/a;)V
.line 80
iget-object p2, p1, Lsg/bigo/live/support64/activity/debug/a;->a:Ljava/lang/String;
const/4 p3, 0x0
.line 1026
invoke-static {p2, p3}, Lsg/bigo/common/ae;->a(Ljava/lang/CharSequence;I)V
.line 81
iget-object p2, p0, Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity$2;->a:Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity;
const-string p4, "debug_config"
.line 2039
invoke-virtual {p2, p4, p3}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
move-result-object p2
.line 2021
invoke-interface {p2}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object p2
iget-object p3, p1, Lsg/bigo/live/support64/activity/debug/a;->a:Ljava/lang/String;
const-string p4, "key_country_name"
.line 2022
invoke-interface {p2, p4, p3}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
move-result-object p2
iget-object p3, p1, Lsg/bigo/live/support64/activity/debug/a;->b:Ljava/lang/String;
const-string p4, "key_country_code"
.line 2023
invoke-interface {p2, p4, p3}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
move-result-object p2
iget-object p3, p1, Lsg/bigo/live/support64/activity/debug/a;->d:Ljava/lang/String;
const-string p4, "key_country_lat"
.line 2024
invoke-interface {p2, p4, p3}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
move-result-object p2
iget-object p1, p1, Lsg/bigo/live/support64/activity/debug/a;->c:Ljava/lang/String;
const-string p3, "key_country_lon"
.line 2025
invoke-interface {p2, p3, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
move-result-object p1
.line 2026
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
return-void
.end method
.method public final onNothingSelected(Landroid/widget/AdapterView;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/widget/AdapterView<",
"*>;)V"
}
.end annotation
return-void
.end method