.class Lcom/forum/HomePageFragment$1; .super Ljava/lang/Object; .source "HomePageFragment.java" # interfaces .implements Landroid/view/View$OnClickListener; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/forum/HomePageFragment;->initData()V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic this$0:Lcom/forum/HomePageFragment; # direct methods .method constructor (Lcom/forum/HomePageFragment;)V .registers 2 .line 103 iput-object p1, p0, Lcom/forum/HomePageFragment$1;->this$0:Lcom/forum/HomePageFragment; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public onClick(Landroid/view/View;)V .registers 5 .line 106 iget-object p1, p0, Lcom/forum/HomePageFragment$1;->this$0:Lcom/forum/HomePageFragment; invoke-virtual {p1}, Lcom/forum/HomePageFragment;->getContext()Landroid/content/Context; move-result-object v0 invoke-virtual {p1, v0}, Lcom/forum/HomePageFragment;->isNetworkConnected(Landroid/content/Context;)Z move-result p1 if-nez p1, :cond_2a .line 107 iget-object p1, p0, Lcom/forum/HomePageFragment$1;->this$0:Lcom/forum/HomePageFragment; iget-boolean p1, p1, Lcom/forum/HomePageFragment;->canShowToast:Z if-eqz p1, :cond_29 .line 108 iget-object p1, p0, Lcom/forum/HomePageFragment$1;->this$0:Lcom/forum/HomePageFragment; invoke-virtual {p1}, Lcom/forum/HomePageFragment;->getContext()Landroid/content/Context; move-result-object p1 iget-object v0, p0, Lcom/forum/HomePageFragment$1;->this$0:Lcom/forum/HomePageFragment; const v1, 0x7f1000d8 invoke-virtual {v0, v1}, Lcom/forum/HomePageFragment;->getString(I)Ljava/lang/String; move-result-object v0 const/4 v1, 0x1 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 :cond_29 return-void .line 112 :cond_2a invoke-static {}, Lcom/home/base/LedBleActivity;->getBaseApp()Lcom/home/base/LedBleApplication; move-result-object p1 invoke-virtual {p1}, Lcom/home/base/LedBleApplication;->getUserToken()Ljava/lang/String; move-result-object p1 const-string v0, "" invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result p1 if-eqz p1, :cond_4d .line 113 iget-object p1, p0, Lcom/forum/HomePageFragment$1;->this$0:Lcom/forum/HomePageFragment; new-instance v0, Landroid/content/Intent; iget-object v1, p0, Lcom/forum/HomePageFragment$1;->this$0:Lcom/forum/HomePageFragment; invoke-virtual {v1}, Lcom/forum/HomePageFragment;->getContext()Landroid/content/Context; move-result-object v1 const-class v2, Lcom/forum/login/LogInActivity; invoke-direct {v0, v1, v2}, Landroid/content/Intent;->(Landroid/content/Context;Ljava/lang/Class;)V invoke-virtual {p1, v0}, Lcom/forum/HomePageFragment;->startActivity(Landroid/content/Intent;)V return-void .line 116 :cond_4d iget-object p1, p0, Lcom/forum/HomePageFragment$1;->this$0:Lcom/forum/HomePageFragment; new-instance v0, Landroid/content/Intent; iget-object v1, p0, Lcom/forum/HomePageFragment$1;->this$0:Lcom/forum/HomePageFragment; invoke-virtual {v1}, Lcom/forum/HomePageFragment;->getContext()Landroid/content/Context; move-result-object v1 const-class v2, Lcom/forum/im/ui/ListViewChatActivity; invoke-direct {v0, v1, v2}, Landroid/content/Intent;->(Landroid/content/Context;Ljava/lang/Class;)V invoke-virtual {p1, v0}, Lcom/forum/HomePageFragment;->startActivity(Landroid/content/Intent;)V return-void .end method