.class public final Lcom/discord/widgets/chat/input/WidgetChatInput$onViewBound$1; .super Lc0/n/c/k; .source "WidgetChatInput.kt" # interfaces .implements Lkotlin/jvm/functions/Function0; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/discord/widgets/chat/input/WidgetChatInput;->onViewBound(Landroid/view/View;)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lc0/n/c/k;", "Lkotlin/jvm/functions/Function0<", "Lkotlin/Unit;", ">;" } .end annotation # instance fields .field public final synthetic this$0:Lcom/discord/widgets/chat/input/WidgetChatInput; # direct methods .method public constructor (Lcom/discord/widgets/chat/input/WidgetChatInput;)V .locals 0 iput-object p1, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$onViewBound$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput; const/4 p1, 0x0 invoke-direct {p0, p1}, Lc0/n/c/k;->(I)V return-void .end method # virtual methods .method public bridge synthetic invoke()Ljava/lang/Object; .locals 1 invoke-virtual {p0}, Lcom/discord/widgets/chat/input/WidgetChatInput$onViewBound$1;->invoke()V sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit; return-object v0 .end method .method public final invoke()V .locals 3 iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$onViewBound$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput; invoke-static {v0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->access$getFlexInputFragment$p(Lcom/discord/widgets/chat/input/WidgetChatInput;)Lcom/lytefast/flexinput/fragment/FlexInputFragment; move-result-object v0 invoke-virtual {v0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->o()Lcom/lytefast/flexinput/widget/FlexEditText; move-result-object v0 iget-object v1, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$onViewBound$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput; new-instance v2, Lcom/discord/widgets/chat/input/WidgetChatInputEditText; invoke-direct {v2, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->(Lcom/lytefast/flexinput/widget/FlexEditText;)V invoke-static {v1, v2}, Lcom/discord/widgets/chat/input/WidgetChatInput;->access$setChatInputEditTextHolder$p(Lcom/discord/widgets/chat/input/WidgetChatInput;Lcom/discord/widgets/chat/input/WidgetChatInputEditText;)V iget-object v1, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$onViewBound$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput; invoke-static {v1}, Lcom/discord/widgets/chat/input/WidgetChatInput;->access$getChatInputEditTextHolder$p(Lcom/discord/widgets/chat/input/WidgetChatInput;)Lcom/discord/widgets/chat/input/WidgetChatInputEditText; move-result-object v1 if-eqz v1, :cond_0 iget-object v2, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$onViewBound$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput; invoke-static {v2}, Lcom/discord/widgets/chat/input/WidgetChatInput;->access$getChatInputMentionsRecycler$p(Lcom/discord/widgets/chat/input/WidgetChatInput;)Landroidx/recyclerview/widget/RecyclerView; move-result-object v2 invoke-virtual {v1, v2}, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->initMentions(Landroidx/recyclerview/widget/RecyclerView;)V :cond_0 iget-object v1, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$onViewBound$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput; invoke-static {v1}, Lcom/discord/widgets/chat/input/WidgetChatInput;->access$getChatInputEditTextHolder$p(Lcom/discord/widgets/chat/input/WidgetChatInput;)Lcom/discord/widgets/chat/input/WidgetChatInputEditText; move-result-object v1 if-eqz v1, :cond_1 iget-object v2, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$onViewBound$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput; invoke-virtual {v1, v2}, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->configureMentionsDataSubscriptions(Lcom/discord/app/AppFragment;)V :cond_1 iget-object v1, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$onViewBound$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput; new-instance v2, Lcom/discord/widgets/chat/input/WidgetChatInputTruncatedHint; invoke-direct {v2, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputTruncatedHint;->(Lcom/lytefast/flexinput/widget/FlexEditText;)V invoke-static {v1, v2}, Lcom/discord/widgets/chat/input/WidgetChatInput;->access$setChatInputTruncatedHint$p(Lcom/discord/widgets/chat/input/WidgetChatInput;Lcom/discord/widgets/chat/input/WidgetChatInputTruncatedHint;)V iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$onViewBound$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput; invoke-static {v0}, Lcom/discord/widgets/chat/input/WidgetChatInput;->access$getChatInputTruncatedHint$p(Lcom/discord/widgets/chat/input/WidgetChatInput;)Lcom/discord/widgets/chat/input/WidgetChatInputTruncatedHint; move-result-object v0 if-eqz v0, :cond_2 iget-object v1, p0, Lcom/discord/widgets/chat/input/WidgetChatInput$onViewBound$1;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInput; invoke-virtual {v0, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputTruncatedHint;->addBindedTextWatcher(Lcom/discord/app/AppFragment;)V :cond_2 return-void .end method