好友
阅读权限 10
听众
最后登录 1970-1-1
25 吾爱币
.class Lcom/example/selfimg/view/CodeDialog$2;
.super Ljava/lang/Object;
.source "CodeDialog.java"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/example/selfimg/view/CodeDialog;->onCreate(Landroid/os/Bundle;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/example/selfimg/view/CodeDialog;
# direct methods
.method constructor <init>(Lcom/example/selfimg/view/CodeDialog;)V
.registers 2
.line 71
iput-object p1, p0, Lcom/example/selfimg/view/CodeDialog$2;->this$0:Lcom/example/selfimg/view/CodeDialog;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onClick(Landroid/view/View;)V
.registers 4
.line 74
iget-object p1, p0, Lcom/example/selfimg/view/CodeDialog$2;->this$0:Lcom/example/selfimg/view/CodeDialog;
invoke-static {p1}, Lcom/example/selfimg/view/CodeDialog;->access$000(Lcom/example/selfimg/view/CodeDialog;)Lcom/example/selfimg/TransData;
move-result-object p1
if-eqz p1, :cond_37
.line 75
iget-object p1, p0, Lcom/example/selfimg/view/CodeDialog$2;->this$0:Lcom/example/selfimg/view/CodeDialog;
invoke-static {p1}, Lcom/example/selfimg/view/CodeDialog;->access$100(Lcom/example/selfimg/view/CodeDialog;)Landroid/widget/EditText;
move-result-object p1
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 76
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_2c
.line 77
invoke-static {}, Lcom/example/selfimg/utils/ToastUtil;->getInstance()Lcom/example/selfimg/utils/ToastUtil;
move-result-object p1
iget-object v0, p0, Lcom/example/selfimg/view/CodeDialog$2;->this$0:Lcom/example/selfimg/view/CodeDialog;
invoke-virtual {v0}, Lcom/example/selfimg/view/CodeDialog;->getContext()Landroid/content/Context;
move-result-object v0
const-string v1, "请输入激活码"
invoke-virtual {p1, v0, v1}, Lcom/example/selfimg/utils/ToastUtil;->showToast(Landroid/content/Context;Ljava/lang/String;)V
return-void
.line 80
:cond_2c
iget-object v0, p0, Lcom/example/selfimg/view/CodeDialog$2;->this$0:Lcom/example/selfimg/view/CodeDialog;
invoke-static {v0}, Lcom/example/selfimg/view/CodeDialog;->access$000(Lcom/example/selfimg/view/CodeDialog;)Lcom/example/selfimg/TransData;
move-result-object v0
const-string v1, "激活"
invoke-interface {v0, v1, p1}, Lcom/example/selfimg/TransData;->passData(Ljava/lang/Object;Ljava/lang/Object;)V
.line 82
:cond_37
iget-object p1, p0, Lcom/example/selfimg/view/CodeDialog$2;->this$0:Lcom/example/selfimg/view/CodeDialog;
invoke-virtual {p1}, Lcom/example/selfimg/view/CodeDialog;->dismiss()V
return-void
.end method
我来回答
发帖前要善用【论坛搜索 】 功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。