吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 2046|回复: 2
收起左侧

[Android 求助] 求职大佬,修改之后闪退

[复制链接]
你到底是什么猫 发表于 2021-5-2 22:36
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

Screenshot_2021-05-02-22-28-28-886_bin.mt.plus.jpg
Screenshot_2021-05-02-22-33-44-292_bin.mt.plus.jpg
Screenshot_2021-05-02-22-33-47-898_bin.mt.plus.jpg

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

涛之雨 发表于 2021-5-3 09:06
询问首先要说明自己是如何修改的,改了哪里,
直接放代码谁知道是怎么回事

免费评分

参与人数 1热心值 +1 收起 理由
芽衣 + 1 我很赞同!

查看全部评分

北辰没有林安 发表于 2021-5-5 09:21
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-12-23 06:21

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表