本人功力太浅了,使用MT弄了好几天,灰心没希望了
请哪位大神帮忙看一看,如果我继续对着这个代码疯狂输出,会不会有效果
最好的指点一二,感激不尽,你就是我指路明灯啊
方向如果不对,累死也白搭啊
.class Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity$h;
.super Landroid/os/Handler;
.source "HuaYuanActivity.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;
# direct methods
.method constructor [i](Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity$h;->a:Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;
invoke-direct {p0}, Landroid/os/Handler;->[i]()V
return-void
.end method
# virtual methods
.method public handleMessage(Landroid/os/Message;)V
.registers 5
.line 1
iget v0, p1, Landroid/os/Message;->what:I
const/4 v1, 0x1
const/4 v2, 0x0
if-eq v0, v1, :cond_34
const/4 v1, 0x2
if-eq v0, v1, :cond_2c
const/4 p1, 0x3
if-eq v0, p1, :cond_18
const/4 p1, 0x4
if-eq v0, p1, :cond_11
goto/16 :goto_91
.line 2
:cond_11
iget-object p1, p0, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity$h;->a:Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;
invoke-virtual {p1}, Landroid/app/Activity;->finish()V
goto/16 :goto_91
.line 3
:cond_18
iget-object p1, p0, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity$h;->a:Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;
invoke-static {p1}, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;->w(Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;)Landroid/view/View;
move-result-object p1
if-eqz p1, :cond_91
.line 4
iget-object p1, p0, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity$h;->a:Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;
invoke-static {p1}, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;->w(Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;)Landroid/view/View;
move-result-object p1
const/16 v0, 0x8
invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V
goto :goto_91
.line 5
:cond_2c
iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
check-cast p1, Ljava/lang/String;
invoke-static {p1, v2}, Lcom/xingyuanma/tangsengenglish/android/util/h0;->b(Ljava/lang/CharSequence;I)V
goto :goto_91
.line 6
:cond_34
iget-object p1, p0, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity$h;->a:Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;
invoke-static {p1}, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;->E(Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;)Landroid/view/View;
move-result-object p1
if-nez p1, :cond_48
.line 7
iget-object p1, p0, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity$h;->a:Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;
const v0, 0x7f07007e
invoke-virtual {p1, v0}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;
move-result-object v0
invoke-static {p1, v0}, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;->F(Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;Landroid/view/View;)Landroid/view/View;
.line 8
:cond_48
iget-object p1, p0, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity$h;->a:Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;
invoke-static {p1}, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;->E(Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;)Landroid/view/View;
move-result-object p1
iget-object v0, p0, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity$h;->a:Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;
invoke-static {v0}, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;->G(Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;)I
move-result v0
invoke-virtual {p1, v0}, Landroid/view/View;->setBackgroundColor(I)V
.line 9
iget-object p1, p0, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity$h;->a:Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;
invoke-static {p1}, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;->H(Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;)Landroid/widget/TextView;
move-result-object p1
if-nez p1, :cond_6d
.line 10
iget-object p1, p0, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity$h;->a:Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;
const v0, 0x7f07013e
invoke-virtual {p1, v0}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/TextView;
invoke-static {p1, v0}, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;->I(Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;Landroid/widget/TextView;)Landroid/widget/TextView;
.line 11
:cond_6d
iget-object p1, p0, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity$h;->a:Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;
invoke-static {p1}, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;->H(Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;)Landroid/widget/TextView;
move-result-object p1
new-array v0, v1, [Ljava/lang/Object;
iget-object v1, p0, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity$h;->a:Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;
iget-object v1, v1, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;->n:Lcom/xingyuanma/tangsengenglish/android/n/m;
invoke-virtual {v1}, Lcom/xingyuanma/tangsengenglish/android/n/m;->c()Ljava/lang/String;
move-result-object v1
aput-object v1, v0, v2
const-string v1, "非常感谢支持\n\n您已经获得{0}\n\n祝学习进步、工作顺心、生活愉快"
invoke-static {v1, v0}, Ljava/text/MessageFormat;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
.line 12
iget-object p1, p0, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity$h;->a:Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;
invoke-static {p1}, Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;->E(Lcom/xingyuanma/tangsengenglish/android/activity/HuaYuanActivity;)Landroid/view/View;
move-result-object p1
invoke-virtual {p1, v2}, Landroid/view/View;->setVisibility(I)V
:cond_91
:goto_91
return-void
.end method