WebJsEvent$1.smali
.class Lio/dcloud/common/adapter/ui/webview/WebJsEvent$1;
.super Ljava/lang/Object;
# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lio/dcloud/common/adapter/ui/webview/WebJsEvent;->onJsPrompt(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsPromptResult;)Z
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lio/dcloud/common/adapter/ui/webview/WebJsEvent;
.field final synthetic val$input:Landroid/widget/EditText;
.field final synthetic val$res:Landroid/webkit/JsPromptResult;
# direct methods
.method constructor <init>(Lio/dcloud/common/adapter/ui/webview/WebJsEvent;Landroid/widget/EditText;Landroid/webkit/JsPromptResult;)V
.registers 4
.line 1
iput-object p1, p0, Lio/dcloud/common/adapter/ui/webview/WebJsEvent$1;->this$0:Lio/dcloud/common/adapter/ui/webview/WebJsEvent;
iput-object p2, p0, Lio/dcloud/common/adapter/ui/webview/WebJsEvent$1;->val$input:Landroid/widget/EditText;
iput-object p3, p0, Lio/dcloud/common/adapter/ui/webview/WebJsEvent$1;->val$res:Landroid/webkit/JsPromptResult;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
.registers 3
.line 1
iget-object p1, p0, Lio/dcloud/common/adapter/ui/webview/WebJsEvent$1;->val$input:Landroid/widget/EditText;
invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
.line 2
iget-object p2, p0, Lio/dcloud/common/adapter/ui/webview/WebJsEvent$1;->val$res:Landroid/webkit/JsPromptResult;
invoke-virtual {p2, p1}, Landroid/webkit/JsPromptResult;->confirm(Ljava/lang/String;)V
return-void
.end method