.class Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1$1; .super Ljava/lang/Object; .source "YoutubeLiveActivity.java" # interfaces .implements Lcom/viatech/camera/YoutubeLiveActivity$ListRefresher; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1;->run()V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic this$2:Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1; # direct methods .method constructor (Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1;)V .locals 0 .prologue .line 626 iput-object p1, p0, Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1$1;->this$2:Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public needRefresh(Ljava/util/List;)Z .locals 5 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List", "<", "Lcom/via/vpailib/vpaiinterface/EventData;", ">;)Z" } .end annotation .prologue const/4 v1, 0x0 .line 629 iget-object v0, p0, Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1$1;->this$2:Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1; iget-object v0, v0, Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1;->this$1:Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask; invoke-static {v0}, Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask;->access$1300(Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask;)Landroid/app/ProgressDialog; move-result-object v0 invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V .line 630 invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator; move-result-object v2 :cond_0 invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_2 invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/via/vpailib/vpaiinterface/EventData; .line 631 invoke-virtual {v0}, Lcom/via/vpailib/vpaiinterface/EventData;->getId()Ljava/lang/String; move-result-object v3 iget-object v4, p0, Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1$1;->this$2:Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1; iget-object v4, v4, Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1;->val$bid:Ljava/lang/String; invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result v3 if-eqz v3, :cond_0 .line 632 const-string v2, "YoutubeLiveActivity" new-instance v3, Ljava/lang/StringBuilder; invoke-direct {v3}, Ljava/lang/StringBuilder;->()V iget-object v4, p0, Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1$1;->this$2:Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1; iget-object v4, v4, Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1;->val$bid:Ljava/lang/String; invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v3 const-string v4, " is " invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v3 invoke-virtual {v0}, Lcom/via/vpailib/vpaiinterface/EventData;->getLifeStatus()Ljava/lang/String; move-result-object v4 invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v3 invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v3 invoke-static {v2, v3}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I .line 633 invoke-virtual {v0}, Lcom/via/vpailib/vpaiinterface/EventData;->getLifeStatus()Ljava/lang/String; move-result-object v0 const-string v2, "live" invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result v0 if-nez v0, :cond_1 const/4 v0, 0x1 .line 637 :goto_0 return v0 :cond_1 move v0, v1 .line 633 goto :goto_0 .line 636 :cond_2 const-string v0, "YoutubeLiveActivity" new-instance v2, Ljava/lang/StringBuilder; invoke-direct {v2}, Ljava/lang/StringBuilder;->()V const-string v3, "no " invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 iget-object v3, p0, Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1$1;->this$2:Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1; iget-object v3, v3, Lcom/viatech/camera/YoutubeLiveActivity$StartEventTask$1;->val$bid:Ljava/lang/String; invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 const-string v3, " found , no need to refresh" invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v2 invoke-static {v0, v2}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I move v0, v1 .line 637 goto :goto_0 .end method