apkfuckery/com.discord/smali/com/discord/widgets/chat/input/WidgetChatInput.smali

735 lines
24 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lcom/discord/widgets/chat/input/WidgetChatInput;
.super Lcom/discord/app/AppFragment;
2019-02-04 20:29:01 +00:00
.source "WidgetChatInput.kt"
2019-02-04 20:05:16 +00:00
# static fields
2019-02-04 20:08:30 +00:00
.field static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
# instance fields
2019-02-04 20:08:30 +00:00
.field private final chatAttachments:Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.field private final chatInput$delegate:Lkotlin/Lazy;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.field private final chatInputEdit$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.field private final chatInputEditCancel$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.field private final chatInputMentionsRecycler$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.field private final chatInputWrap$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.field private final chatVerification$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.field private final chatVerificationAction$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.field private final chatVerificationText$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
# direct methods
.method static constructor <clinit>()V
.locals 5
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/16 v0, 0x8
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
new-array v0, v0, [Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Lkotlin/jvm/internal/u;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-class v2, Lcom/discord/widgets/chat/input/WidgetChatInput;
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v3, "chatInputWrap"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v4, "getChatInputWrap()Landroid/view/View;"
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aput-object v1, v0, v2
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Lkotlin/jvm/internal/u;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-class v2, Lcom/discord/widgets/chat/input/WidgetChatInput;
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v3, "chatInputMentionsRecycler"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v4, "getChatInputMentionsRecycler()Landroidx/recyclerview/widget/RecyclerView;"
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aput-object v1, v0, v2
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Lkotlin/jvm/internal/u;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-class v2, Lcom/discord/widgets/chat/input/WidgetChatInput;
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v3, "chatInputEdit"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v4, "getChatInputEdit()Landroid/view/View;"
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aput-object v1, v0, v2
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Lkotlin/jvm/internal/u;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-class v2, Lcom/discord/widgets/chat/input/WidgetChatInput;
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v3, "chatInputEditCancel"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v4, "getChatInputEditCancel()Landroid/view/View;"
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x3
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aput-object v1, v0, v2
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Lkotlin/jvm/internal/u;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-class v2, Lcom/discord/widgets/chat/input/WidgetChatInput;
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v3, "chatVerification"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v4, "getChatVerification()Landroid/view/View;"
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
2019-02-04 20:05:16 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x4
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aput-object v1, v0, v2
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Lkotlin/jvm/internal/u;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-class v2, Lcom/discord/widgets/chat/input/WidgetChatInput;
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v3, "chatVerificationText"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v4, "getChatVerificationText()Landroid/widget/TextView;"
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x5
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aput-object v1, v0, v2
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Lkotlin/jvm/internal/u;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-class v2, Lcom/discord/widgets/chat/input/WidgetChatInput;
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v3, "chatVerificationAction"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v4, "getChatVerificationAction()Landroid/widget/TextView;"
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x6
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aput-object v1, v0, v2
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Lkotlin/jvm/internal/u;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-class v2, Lcom/discord/widgets/chat/input/WidgetChatInput;
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v3, "chatInput"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v4, "getChatInput()Lcom/discord/widgets/chat/input/WidgetChatInputEditText;"
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x7
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aput-object v1, v0, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
sput-object v0, Lcom/discord/widgets/chat/input/WidgetChatInput;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.method public constructor <init>()V
.locals 1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Lcom/discord/app/AppFragment;-><init>()V
2019-02-04 20:05:16 +00:00
2019-03-02 21:05:12 +00:00
const v0, 0x7f0a016c
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
iput-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatInputWrap$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-03-02 21:05:12 +00:00
const v0, 0x7f0a0165
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
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
iput-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatInputMentionsRecycler$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-03-02 21:05:12 +00:00
const v0, 0x7f0a015a
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
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
iput-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatInputEdit$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-03-02 21:05:12 +00:00
const v0, 0x7f0a015c
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
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
iput-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatInputEditCancel$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-03-02 21:05:12 +00:00
const v0, 0x7f0a0168
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
iput-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatVerification$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-03-02 21:05:12 +00:00
const v0, 0x7f0a016a
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
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
iput-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatVerificationText$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-03-02 21:05:12 +00:00
const v0, 0x7f0a0169
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {p0, v0}, Lkotterknife/b;->c(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
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
iput-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatVerificationAction$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
new-instance v0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {v0}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;-><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/chat/input/WidgetChatInput;->chatAttachments:Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
new-instance v0, Lcom/discord/widgets/chat/input/WidgetChatInput$chatInput$2;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {v0, p0}, Lcom/discord/widgets/chat/input/WidgetChatInput$chatInput$2;-><init>(Lcom/discord/widgets/chat/input/WidgetChatInput;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v0, Lkotlin/jvm/functions/Function0;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {v0}, Lkotlin/f;->b(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
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
iput-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatInput$delegate:Lkotlin/Lazy;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.method public static final synthetic access$configureUI(Lcom/discord/widgets/chat/input/WidgetChatInput;Lcom/discord/widgets/chat/input/WidgetChatInputModel;)V
.locals 0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0, p1}, Lcom/discord/widgets/chat/input/WidgetChatInput;->configureUI(Lcom/discord/widgets/chat/input/WidgetChatInputModel;)V
2019-02-04 20:05:16 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.method private final configureUI(Lcom/discord/widgets/chat/input/WidgetChatInputModel;)V
.locals 4
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getChatInputWrap()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
invoke-static {p1}, Lcom/discord/widgets/chat/input/WidgetChatInputModel;->isInputShowing(Lcom/discord/widgets/chat/input/WidgetChatInputModel;)Z
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {v0, v1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getChatVerification()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
invoke-static {p1}, Lcom/discord/widgets/chat/input/WidgetChatInputModel;->isVerificationLevelTriggered(Lcom/discord/widgets/chat/input/WidgetChatInputModel;)Z
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {v0, v1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
if-nez p1, :cond_0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-void
2019-02-04 20:05:16 +00:00
:cond_0
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getChatVerificationText()Landroid/widget/TextView;
2019-02-04 20:05:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
invoke-virtual {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getContext()Landroid/content/Context;
2019-02-04 20:05:16 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
invoke-virtual {p1, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputModel;->getVerificationText(Landroid/content/Context;)Ljava/lang/String;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v1, Ljava/lang/CharSequence;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getChatVerificationAction()Landroid/widget/TextView;
2019-02-04 20:05:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
invoke-virtual {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getContext()Landroid/content/Context;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {p1, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputModel;->getVerificationActionText(Landroid/content/Context;)Ljava/lang/String;
2019-02-04 20:05:16 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
check-cast v1, Ljava/lang/CharSequence;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getChatVerificationAction()Landroid/widget/TextView;
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
invoke-virtual {p1}, Lcom/discord/widgets/chat/input/WidgetChatInputModel;->getVerificationAction()Landroid/view/View$OnClickListener;
2019-02-04 20:05:16 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getChatVerificationAction()Landroid/widget/TextView;
2019-02-04 20:05:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
check-cast v0, Landroid/view/View;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {p1}, Lcom/discord/widgets/chat/input/WidgetChatInputModel;->getVerificationAction()Landroid/view/View$OnClickListener;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
if-eqz v1, :cond_1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v1, 0x1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
goto :goto_0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
:cond_1
const/4 v1, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
:goto_0
invoke-static {v0, v1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getChatInput()Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
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
iget-object v1, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatAttachments:Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getChatInputEdit()Landroid/view/View;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getChatInputEditCancel()Landroid/view/View;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v3
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {v0, v1, v2, v3, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputSend;->configureSendListeners(Lcom/discord/widgets/chat/input/WidgetChatInputEditText;Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;Landroid/view/View;Landroid/view/View;Lcom/discord/widgets/chat/input/WidgetChatInputModel;)V
2019-02-04 20:05:16 +00:00
return-void
.end method
2019-02-04 20:08:30 +00:00
.method private final getChatInput()Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
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/chat/input/WidgetChatInput;->chatInput$delegate:Lkotlin/Lazy;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
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
check-cast v0, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-object v0
2019-02-04 20:05:16 +00:00
.end method
2019-02-04 20:08:30 +00:00
.method private final getChatInputEdit()Landroid/view/View;
.locals 3
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatInputEdit$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
sget-object v1, Lcom/discord/widgets/chat/input/WidgetChatInput;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aget-object v1, v1, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:05:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
check-cast v0, Landroid/view/View;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-object v0
2019-02-04 20:05:16 +00:00
.end method
2019-02-04 20:08:30 +00:00
.method private final getChatInputEditCancel()Landroid/view/View;
.locals 3
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatInputEditCancel$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
sget-object v1, Lcom/discord/widgets/chat/input/WidgetChatInput;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x3
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aget-object v1, v1, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
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
check-cast v0, Landroid/view/View;
2019-02-04 20:05:16 +00:00
return-object v0
.end method
2019-02-04 20:08:30 +00:00
.method private final getChatInputMentionsRecycler()Landroidx/recyclerview/widget/RecyclerView;
.locals 3
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatInputMentionsRecycler$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
sget-object v1, Lcom/discord/widgets/chat/input/WidgetChatInput;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aget-object v1, v1, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
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
check-cast v0, Landroidx/recyclerview/widget/RecyclerView;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-object v0
2019-02-04 20:05:16 +00:00
.end method
2019-02-04 20:08:30 +00:00
.method private final getChatInputWrap()Landroid/view/View;
.locals 3
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatInputWrap$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
sget-object v1, Lcom/discord/widgets/chat/input/WidgetChatInput;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
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
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
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
check-cast v0, Landroid/view/View;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-object v0
2019-02-04 20:05:16 +00:00
.end method
2019-02-04 20:08:30 +00:00
.method private final getChatVerification()Landroid/view/View;
.locals 3
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatVerification$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
sget-object v1, Lcom/discord/widgets/chat/input/WidgetChatInput;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x4
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aget-object v1, v1, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
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
check-cast v0, Landroid/view/View;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-object v0
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.method private final getChatVerificationAction()Landroid/widget/TextView;
.locals 3
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatVerificationAction$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
sget-object v1, Lcom/discord/widgets/chat/input/WidgetChatInput;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x6
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aget-object v1, v1, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:05:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
check-cast v0, Landroid/widget/TextView;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-object v0
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.method private final getChatVerificationText()Landroid/widget/TextView;
.locals 3
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatVerificationText$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
sget-object v1, Lcom/discord/widgets/chat/input/WidgetChatInput;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x5
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aget-object v1, v1, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
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
check-cast v0, Landroid/widget/TextView;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-object v0
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
# virtual methods
.method public final getContentViewResId()I
2019-02-04 20:05:16 +00:00
.locals 1
2019-03-02 23:27:57 +00:00
const v0, 0x7f0d00c6
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return v0
2019-02-04 20:05:16 +00:00
.end method
2019-02-04 20:08:30 +00:00
.method public final onDestroyView()V
.locals 1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatAttachments:Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {v0}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->reset()V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-super {p0}, Lcom/discord/app/AppFragment;->onDestroyView()V
2019-02-04 20:05:16 +00:00
return-void
.end method
2019-02-04 20:08:30 +00:00
.method public final onViewBound(Landroid/view/View;)V
.locals 2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v0, "view"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-super {p0, p1}, Lcom/discord/app/AppFragment;->onViewBound(Landroid/view/View;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getChatInput()Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object p1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
if-eqz p1, :cond_0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getChatInputMentionsRecycler()Landroidx/recyclerview/widget/RecyclerView;
2019-02-04 20:05:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
invoke-virtual {p1, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->initMentions(Landroidx/recyclerview/widget/RecyclerView;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
:cond_0
iget-object p1, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatAttachments:Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-object v0, p0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v0, Lcom/discord/app/AppFragment;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getChatInput()Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
2019-02-04 20:05:16 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
invoke-virtual {p1, v0, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->configureFlexInputFragment(Lcom/discord/app/AppFragment;Lcom/discord/widgets/chat/input/WidgetChatInputEditText;)V
2019-02-04 20:05:16 +00:00
return-void
.end method
2019-02-04 20:08:30 +00:00
.method public final onViewBoundOrOnResume()V
.locals 11
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-super {p0}, Lcom/discord/app/AppFragment;->onViewBoundOrOnResume()V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getChatInput()Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
2019-02-04 20:05:16 +00:00
move-result-object v0
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
move-object v1, p0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v1, Lcom/discord/app/AppFragment;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->configureMentionsDataSubscriptions(Lcom/discord/app/AppFragment;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
:cond_0
invoke-virtual {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->getContext()Landroid/content/Context;
2019-02-04 20:05:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
invoke-static {v0}, Lcom/discord/widgets/chat/input/WidgetChatInputModel;->get(Landroid/content/Context;)Lrx/Observable;
2019-02-04 20:05:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
move-object v1, p0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v1, Lcom/discord/app/AppComponent;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {v1}, Lcom/discord/app/g;->a(Lcom/discord/app/AppComponent;)Lrx/Observable$Transformer;
2019-02-04 20:05:16 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Lrx/Observable;->a(Lrx/Observable$Transformer;)Lrx/Observable;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v0, "WidgetChatInputModel\n \u2026AppTransformers.ui(this))"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {v2, v0}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v3
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v4, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v5, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v6, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v7, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
new-instance v0, Lcom/discord/widgets/chat/input/WidgetChatInput$onViewBoundOrOnResume$1;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-object v1, p0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v1, Lcom/discord/widgets/chat/input/WidgetChatInput;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {v0, v1}, Lcom/discord/widgets/chat/input/WidgetChatInput$onViewBoundOrOnResume$1;-><init>(Lcom/discord/widgets/chat/input/WidgetChatInput;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-object v8, v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v8, Lkotlin/jvm/functions/Function1;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/16 v9, 0x1e
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v10, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static/range {v2 .. v10}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
2019-02-04 20:05:16 +00:00
return-void
.end method
2019-02-04 20:08:30 +00:00
.method public final showKeyboard(Landroid/view/View;)V
2019-02-04 20:05:16 +00:00
.locals 0
2019-02-04 20:08:30 +00:00
invoke-super {p0, p1}, Lcom/discord/app/AppFragment;->showKeyboard(Landroid/view/View;)V
iget-object p1, p0, Lcom/discord/widgets/chat/input/WidgetChatInput;->chatAttachments:Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;
invoke-virtual {p1}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;->setEmojiTrayHidden()Z
2019-02-04 20:05:16 +00:00
return-void
.end method