apkfuckery/com.discord/smali/com/discord/dialogs/e$a.smali

102 lines
2.9 KiB
Smali

.class public final Lcom/discord/dialogs/e$a;
.super Ljava/lang/Object;
.source "SelectorDialog.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/dialogs/e;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(B)V
.locals 0
invoke-direct {p0}, Lcom/discord/dialogs/e$a;-><init>()V
return-void
.end method
.method public static a(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;[Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Lcom/discord/dialogs/e;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/fragment/app/FragmentManager;",
"Ljava/lang/String;",
"[",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Integer;",
"Lkotlin/Unit;",
">;)",
"Lcom/discord/dialogs/e;"
}
.end annotation
const-string v0, "fragmentManager"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "title"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "options"
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "onSelectedListener"
invoke-static {p3, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lcom/discord/dialogs/e;
invoke-direct {v0}, Lcom/discord/dialogs/e;-><init>()V
new-instance v1, Landroid/os/Bundle;
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
const-string v2, "INTENT_DIALOG_TITLE"
invoke-virtual {v1, v2, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
const-string p1, "INTENT_DIALOG_OPTIONS"
invoke-virtual {v1, p1, p2}, Landroid/os/Bundle;->putCharSequenceArray(Ljava/lang/String;[Ljava/lang/CharSequence;)V
invoke-virtual {v0, v1}, Lcom/discord/dialogs/e;->setArguments(Landroid/os/Bundle;)V
iput-object p3, v0, Lcom/discord/dialogs/e;->xB:Lkotlin/jvm/functions/Function1;
const-class p1, Lcom/discord/dialogs/e;
invoke-static {p1}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, p0, p1}, Lcom/discord/dialogs/e;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V
return-object v0
.end method