2019-02-04 20:08:30 +00:00
|
|
|
.class public final Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;
|
|
|
|
.super Lcom/discord/app/AppDialog;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
2019-02-04 20:08:30 +00:00
|
|
|
Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Adapter;,
|
|
|
|
Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Model;,
|
|
|
|
Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Companion;
|
2019-02-04 20:05:16 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
# static fields
|
|
|
|
.field static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
.field public static final Companion:Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Companion;
|
|
|
|
|
|
|
|
|
2019-02-04 20:05:16 +00:00
|
|
|
# instance fields
|
2019-02-04 20:08:30 +00:00
|
|
|
.field private _$_findViewCache:Ljava/util/HashMap;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
.field private adapter:Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Adapter;
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.field private final list$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-02-04 20:08:30 +00:00
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
new-instance v1, Lkotlin/jvm/internal/r;
|
|
|
|
|
|
|
|
const-class v2, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;
|
|
|
|
|
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/s;->ag(Ljava/lang/Class;)Lkotlin/reflect/b;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const-string v3, "list"
|
|
|
|
|
|
|
|
const-string v4, "getList()Landroidx/recyclerview/widget/RecyclerView;"
|
|
|
|
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/r;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/s;->a(Lkotlin/jvm/internal/q;)Lkotlin/reflect/e;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
check-cast v1, Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
|
|
|
|
sput-object v0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Companion;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
sput-object v0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->Companion:Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Companion;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/app/AppDialog;-><init>()V
|
|
|
|
|
|
|
|
const v0, 0x7f0a0542
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->list$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method private final getList()Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->list$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +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, Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final show(Landroidx/fragment/app/FragmentManager;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->Companion:Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Companion;->show(Landroidx/fragment/app/FragmentManager;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-02-04 20:08:30 +00:00
|
|
|
.method public final _$_clearFindViewByIdCache()V
|
2019-02-04 20:05:16 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->_$_findViewCache:Ljava/util/HashMap;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
if-eqz v0, :cond_0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->_$_findViewCache:Ljava/util/HashMap;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-virtual {v0}, Ljava/util/HashMap;->clear()V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
2019-02-04 20:05:16 +00:00
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method public final _$_findCachedViewById(I)Landroid/view/View;
|
2019-02-04 20:05:16 +00:00
|
|
|
.locals 2
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->_$_findViewCache:Ljava/util/HashMap;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->_$_findViewCache:Ljava/util/HashMap;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
:cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->_$_findViewCache:Ljava/util/HashMap;
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/view/View;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
if-nez v0, :cond_2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getView()Landroid/view/View;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
if-nez v0, :cond_1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
const/4 p1, 0x0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
return-object p1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
:cond_1
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->_$_findViewCache:Ljava/util/HashMap;
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {v1, p1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getContentViewResId()I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const v0, 0x7f0d0166
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final synthetic onDestroyView()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-super {p0}, Lcom/discord/app/AppDialog;->onDestroyView()V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->_$_clearFindViewByIdCache()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onResume()V
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
invoke-super {p0}, Lcom/discord/app/AppDialog;->onResume()V
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter;->Companion:Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter$Companion;
|
|
|
|
|
|
|
|
new-instance v1, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Adapter;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->getList()Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
move-object v3, p0
|
|
|
|
|
|
|
|
check-cast v3, Lcom/discord/app/AppDialog;
|
|
|
|
|
|
|
|
invoke-direct {v1, v2, v3}, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Adapter;-><init>(Landroidx/recyclerview/widget/RecyclerView;Lcom/discord/app/AppDialog;)V
|
|
|
|
|
|
|
|
check-cast v1, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter$Companion;->configure(Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter;)Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Adapter;
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->adapter:Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Adapter;
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->adapter:Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Adapter;
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const-string v1, "adapter"
|
|
|
|
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/j;->dZ(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Model;->INSTANCE:Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Model;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Model;->getLocales()Ljava/util/List;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Adapter;->setData(Ljava/util/List;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|