2019-12-06 03:29:40 +00:00
|
|
|
.class public final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$11;
|
2019-10-19 01:51:17 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "WidgetUserSheet.kt"
|
|
|
|
|
|
|
|
# interfaces
|
2019-11-10 14:21:47 +00:00
|
|
|
.implements Landroid/widget/TextView$OnEditorActionListener;
|
2019-10-19 01:51:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
2019-12-06 03:29:40 +00:00
|
|
|
accessFlags = 0x19
|
2019-10-19 01:51:17 +00:00
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final synthetic $view:Landroid/view/View;
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
|
2019-10-19 01:51:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Landroid/view/View;)V
|
2019-10-19 01:51:17 +00:00
|
|
|
.locals 0
|
|
|
|
|
2019-11-10 14:21:47 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$11;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$11;->$view:Landroid/view/View;
|
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-11-10 14:21:47 +00:00
|
|
|
.method public final onEditorAction(Landroid/widget/TextView;ILandroid/view/KeyEvent;)Z
|
2019-10-19 01:51:17 +00:00
|
|
|
.locals 0
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
const/4 p1, 0x6
|
2019-10-19 01:51:17 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
if-ne p2, p1, :cond_0
|
2019-11-10 14:21:47 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$11;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
|
2019-10-19 01:51:17 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-static {p1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->access$getViewModel$p(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
|
2019-10-19 01:51:17 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
move-result-object p1
|
2019-10-19 01:51:17 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$11;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
|
2019-10-19 01:51:17 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-static {p2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->access$getNoteTextField$p(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)Lcom/discord/app/AppEditText;
|
2019-10-19 01:51:17 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
move-result-object p2
|
2019-10-19 01:51:17 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p2}, Landroidx/appcompat/widget/AppCompatEditText;->getText()Landroid/text/Editable;
|
2019-10-19 01:51:17 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
move-result-object p2
|
2019-10-19 01:51:17 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-static {p2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
2019-10-19 01:51:17 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
move-result-object p2
|
2019-10-19 01:51:17 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {p1, p2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->updateUserNote(Ljava/lang/String;)V
|
2019-10-19 01:51:17 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$onViewCreated$11;->$view:Landroid/view/View;
|
2019-11-10 14:21:47 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {p1}, Landroid/view/View;->clearFocus()V
|
2019-11-10 14:21:47 +00:00
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
:cond_0
|
2019-11-10 14:21:47 +00:00
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return p1
|
2019-10-19 01:51:17 +00:00
|
|
|
.end method
|