[Asm] 纯文本查看 复制代码
.method public onViewClicked(Landroid/view/View;)V
.locals 5
.annotation build Lbutterknife/OnClick;
value = {
0x7f100122,
0x7f1000ac,
0x7f1000ae
}
.end annotation
const v4, 0x7f0200c4
const v3, 0x7f0200c3
const/4 v2, 0x0
invoke-virtual {p1}, Landroid/view/View;->getId()I
move-result v0
sparse-switch v0, :sswitch_data_0
:goto_0
return-void
:sswitch_0
invoke-virtual {p0}, Lcom/xxx/svideo/ui/home/activity/PlayLineActivity;->closeActivity()V
goto :goto_0
:sswitch_1
invoke-static {}, Lcom/xxx/svideo/utils/UserUtils;->getUserInfo()Lcom/xxx/svideo/model/UserModel;
move-result-object v0
invoke-virtual {v0}, Lcom/xxx/svideo/model/UserModel;->getIs_vip()Ljava/lang/String;
move-result-object v0
const-string v1, "1"
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
iget-object v0, p0, Lcom/xxx/svideo/ui/home/activity/PlayLineActivity;->generalSelect:Landroid/widget/ImageView;
invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setImageResource(I)V
iget-object v0, p0, Lcom/xxx/svideo/ui/home/activity/PlayLineActivity;->vipSelect:Landroid/widget/ImageView;
invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageResource(I)V
const-string v0, "line"
const-string v1, "1"
invoke-static {v0, v1}, Lcom/orhanobut/hawk/Hawk;->put(Ljava/lang/String;Ljava/lang/Object;)Z
sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
const-string v1, "line"
invoke-static {v1}, Lcom/orhanobut/hawk/Hawk;->get(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/Object;)V
const-string v0, "\u5df2\u5207\u6362\u5230\u666e\u901a\u7ebf\u8def"
invoke-static {p0, v0, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/Toast;->show()V
goto :goto_0
const-string v0, "\u53ea\u6709VIP\u7528\u6237\u624d\u80fd\u5207\u6362\u7ebf\u8def"
invoke-static {p0, v0, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/Toast;->show()V
goto :goto_0
:sswitch_2
invoke-static {}, Lcom/xxx/svideo/utils/UserUtils;->getUserInfo()Lcom/xxx/svideo/model/UserModel;
move-result-object v0
invoke-virtual {v0}, Lcom/xxx/svideo/model/UserModel;->getIs_vip()Ljava/lang/String;
move-result-object v0
const-string v1, "1"
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
iget-object v0, p0, Lcom/xxx/svideo/ui/home/activity/PlayLineActivity;->generalSelect:Landroid/widget/ImageView;
invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageResource(I)V
iget-object v0, p0, Lcom/xxx/svideo/ui/home/activity/PlayLineActivity;->vipSelect:Landroid/widget/ImageView;
invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setImageResource(I)V
const-string v0, "line"
const-string v1, "2"
invoke-static {v0, v1}, Lcom/orhanobut/hawk/Hawk;->put(Ljava/lang/String;Ljava/lang/Object;)Z
sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
const-string v1, "line"
invoke-static {v1}, Lcom/orhanobut/hawk/Hawk;->get(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/Object;)V
const-string v0, "\u7ebf\u8def\u5207\u6362\u6210\u529f\uff0c\u9a9a\u5e74\u98de\u8d77\u6765\uff01"
invoke-static {p0, v0, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/Toast;->show()V
goto :goto_0
const-string v0, "\u53ea\u6709VIP\u7528\u6237\u624d\u80fd\u5207\u6362\u7ebf\u8def"
invoke-static {p0, v0, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/Toast;->show()V
goto/16 :goto_0
:sswitch_data_0
.sparse-switch
0x7f1000ac -> :sswitch_1
0x7f1000ae -> :sswitch_2
0x7f100122 -> :sswitch_0
.end sparse-switch
.end method