.class Lcom/forum/login/RegisterActivity$5; .super Ljava/lang/Object; .source "RegisterActivity.java" # interfaces .implements Lcom/home/http/HttpUtil$HttpCallBack; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/forum/login/RegisterActivity;->onClick(Landroid/view/View;)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic this$0:Lcom/forum/login/RegisterActivity; # direct methods .method constructor (Lcom/forum/login/RegisterActivity;)V .registers 2 .line 254 iput-object p1, p0, Lcom/forum/login/RegisterActivity$5;->this$0:Lcom/forum/login/RegisterActivity; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public onException(Ljava/lang/String;)V .registers 4 .line 273 iget-object p1, p0, Lcom/forum/login/RegisterActivity$5;->this$0:Lcom/forum/login/RegisterActivity; const v0, 0x7f1001ef invoke-virtual {p1, v0}, Lcom/forum/login/RegisterActivity;->getString(I)Ljava/lang/String; move-result-object v0 const/4 v1, 0x0 invoke-static {p1, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; move-result-object p1 invoke-virtual {p1}, Landroid/widget/Toast;->show()V return-void .end method .method public onSuccess(Ljava/lang/String;)V .registers 5 .line 257 new-instance v0, Lcom/forum/login/RegisterActivity$5$1; invoke-direct {v0, p0}, Lcom/forum/login/RegisterActivity$5$1;->(Lcom/forum/login/RegisterActivity$5;)V const/4 v1, 0x0 new-array v2, v1, [Lcom/alibaba/fastjson/parser/Feature; invoke-static {p1, v0, v2}, Lcom/alibaba/fastjson/JSON;->parseObject(Ljava/lang/String;Lcom/alibaba/fastjson/TypeReference;[Lcom/alibaba/fastjson/parser/Feature;)Ljava/lang/Object; move-result-object p1 check-cast p1, Lcom/home/http/ResponseBean; if-eqz p1, :cond_57 .line 260 const-string v0, "000000" invoke-virtual {p1}, Lcom/home/http/ResponseBean;->getReturnCode()Ljava/lang/String; move-result-object v2 invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_32 .line 261 iget-object p1, p0, Lcom/forum/login/RegisterActivity$5;->this$0:Lcom/forum/login/RegisterActivity; const v0, 0x7f1001eb invoke-virtual {p1, v0}, Lcom/forum/login/RegisterActivity;->getString(I)Ljava/lang/String; move-result-object v0 invoke-static {p1, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; move-result-object p1 invoke-virtual {p1}, Landroid/widget/Toast;->show()V .line 262 iget-object p1, p0, Lcom/forum/login/RegisterActivity$5;->this$0:Lcom/forum/login/RegisterActivity; invoke-virtual {p1}, Lcom/forum/login/RegisterActivity;->finish()V goto :goto_57 .line 264 :cond_32 iget-object v0, p0, Lcom/forum/login/RegisterActivity$5;->this$0:Lcom/forum/login/RegisterActivity; invoke-virtual {v0}, Lcom/forum/login/RegisterActivity;->getApplicationContext()Landroid/content/Context; move-result-object v0 invoke-virtual {p1}, Lcom/home/http/ResponseBean;->getReturnCode()Ljava/lang/String; move-result-object v2 invoke-static {v0, v2}, Lcom/common/uitl/StringUtils;->getReturnCodeString(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String; move-result-object v0 if-eqz v0, :cond_57 .line 265 iget-object v0, p0, Lcom/forum/login/RegisterActivity$5;->this$0:Lcom/forum/login/RegisterActivity; invoke-virtual {v0}, Lcom/forum/login/RegisterActivity;->getApplicationContext()Landroid/content/Context; move-result-object v2 invoke-virtual {p1}, Lcom/home/http/ResponseBean;->getReturnCode()Ljava/lang/String; move-result-object p1 invoke-static {v2, p1}, Lcom/common/uitl/StringUtils;->getReturnCodeString(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String; move-result-object p1 invoke-static {v0, p1, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; move-result-object p1 invoke-virtual {p1}, Landroid/widget/Toast;->show()V :cond_57 :goto_57 return-void .end method