.class Lcom/moji/mjweather/TabNewLiveViewFragment$13; .super Lcom/moji/tool/thread/task/MJAsyncTask; .source "TabNewLiveViewFragment.java" # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/moji/mjweather/TabNewLiveViewFragment;->l()V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lcom/moji/tool/thread/task/MJAsyncTask<", "Ljava/lang/Void;", "Ljava/lang/Void;", "Lcom/moji/http/snsforum/entity/HomePageInfo;", ">;" } .end annotation # instance fields .field final synthetic a:Lcom/moji/mjweather/TabNewLiveViewFragment; # direct methods .method constructor (Lcom/moji/mjweather/TabNewLiveViewFragment;Lcom/moji/tool/thread/ThreadPriority;)V .locals 0 .line 466 iput-object p1, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$13;->a:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-direct {p0, p2}, Lcom/moji/tool/thread/task/MJAsyncTask;->(Lcom/moji/tool/thread/ThreadPriority;)V return-void .end method # virtual methods .method protected varargs a([Ljava/lang/Void;)Lcom/moji/http/snsforum/entity/HomePageInfo; .locals 6 .line 469 invoke-static {}, Lcom/moji/preferences/LiveViewPrefer;->c()Lcom/moji/preferences/LiveViewPrefer; move-result-object p1 invoke-virtual {p1}, Lcom/moji/preferences/LiveViewPrefer;->f()J move-result-wide v0 .line 470 invoke-static {}, Lcom/moji/preferences/LiveViewPrefer;->c()Lcom/moji/preferences/LiveViewPrefer; move-result-object p1 invoke-virtual {p1}, Lcom/moji/preferences/LiveViewPrefer;->g()Ljava/lang/String; move-result-object p1 const/4 v2, 0x0 const-wide/16 v3, 0x0 cmp-long v5, v0, v3 if-eqz v5, :cond_1 .line 472 invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z move-result v0 if-nez v0, :cond_1 .line 473 new-instance v0, Lcom/google/gson/GsonBuilder; invoke-direct {v0}, Lcom/google/gson/GsonBuilder;->()V invoke-virtual {v0}, Lcom/google/gson/GsonBuilder;->create()Lcom/google/gson/Gson; move-result-object v0 .line 475 :try_start_0 const-class v1, Lcom/moji/http/snsforum/entity/HomePageInfo; invoke-virtual {v0, p1, v1}, Lcom/google/gson/Gson;->fromJson(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object; move-result-object p1 check-cast p1, Lcom/moji/http/snsforum/entity/HomePageInfo; if-eqz p1, :cond_0 .line 477 iput-object v2, p1, Lcom/moji/http/snsforum/entity/HomePageInfo;->camera_icon_url:Ljava/lang/String; .line 478 iput-object v2, p1, Lcom/moji/http/snsforum/entity/HomePageInfo;->search_background_url:Ljava/lang/String; .line 479 iput-object v2, p1, Lcom/moji/http/snsforum/entity/HomePageInfo;->banner_background_url:Ljava/lang/String; .line 480 iput-object v2, p1, Lcom/moji/http/snsforum/entity/HomePageInfo;->module_background_url:Ljava/lang/String; :try_end_0 .catch Lcom/google/gson/JsonSyntaxException; {:try_start_0 .. :try_end_0} :catch_0 :cond_0 move-object v2, p1 :catch_0 :cond_1 return-object v2 .end method .method protected bridge synthetic a([Ljava/lang/Object;)Ljava/lang/Object; .locals 0 .line 466 check-cast p1, [Ljava/lang/Void; invoke-virtual {p0, p1}, Lcom/moji/mjweather/TabNewLiveViewFragment$13;->a([Ljava/lang/Void;)Lcom/moji/http/snsforum/entity/HomePageInfo; move-result-object p1 return-object p1 .end method .method protected a(Lcom/moji/http/snsforum/entity/HomePageInfo;)V .locals 2 if-nez p1, :cond_0 .line 493 invoke-static {}, Lcom/moji/tool/DeviceTool;->m()Z move-result p1 if-nez p1, :cond_1 .line 494 iget-object p1, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$13;->a:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {p1}, Lcom/moji/mjweather/TabNewLiveViewFragment;->j(Lcom/moji/mjweather/TabNewLiveViewFragment;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout; move-result-object p1 invoke-virtual {p1}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->t_()V goto :goto_0 .line 497 :cond_0 iget-object v0, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$13;->a:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {v0}, Lcom/moji/mjweather/TabNewLiveViewFragment;->k(Lcom/moji/mjweather/TabNewLiveViewFragment;)Z move-result v0 if-nez v0, :cond_1 .line 499 iget-object v0, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$13;->a:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {v0}, Lcom/moji/mjweather/TabNewLiveViewFragment;->f(Lcom/moji/mjweather/TabNewLiveViewFragment;)Lcom/moji/newliveview/home/adapter/LiveAdapter; move-result-object v0 invoke-virtual {v0}, Lcom/moji/newliveview/home/adapter/LiveAdapter;->d()V .line 500 iget-object v0, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$13;->a:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {v0}, Lcom/moji/mjweather/TabNewLiveViewFragment;->f(Lcom/moji/mjweather/TabNewLiveViewFragment;)Lcom/moji/newliveview/home/adapter/LiveAdapter; move-result-object v0 const/4 v1, 0x0 invoke-virtual {v0, p1, v1, v1, v1}, Lcom/moji/newliveview/home/adapter/LiveAdapter;->a(Lcom/moji/http/snsforum/entity/HomePageInfo;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)V .line 501 iget-object v0, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$13;->a:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {v0}, Lcom/moji/mjweather/TabNewLiveViewFragment;->f(Lcom/moji/mjweather/TabNewLiveViewFragment;)Lcom/moji/newliveview/home/adapter/LiveAdapter; move-result-object v0 iget-object p1, p1, Lcom/moji/http/snsforum/entity/HomePageInfo;->page_cursor:Ljava/lang/String; invoke-virtual {v0, p1}, Lcom/moji/newliveview/home/adapter/LiveAdapter;->a(Ljava/lang/String;)V .line 502 iget-object p1, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$13;->a:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {p1}, Lcom/moji/mjweather/TabNewLiveViewFragment;->f(Lcom/moji/mjweather/TabNewLiveViewFragment;)Lcom/moji/newliveview/home/adapter/LiveAdapter; move-result-object p1 invoke-virtual {p1}, Lcom/moji/newliveview/home/adapter/LiveAdapter;->c()V .line 503 iget-object p1, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$13;->a:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {p1}, Lcom/moji/mjweather/TabNewLiveViewFragment;->j(Lcom/moji/mjweather/TabNewLiveViewFragment;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout; move-result-object p1 invoke-virtual {p1}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->b()V :cond_1 :goto_0 return-void .end method .method protected bridge synthetic a(Ljava/lang/Object;)V .locals 0 .line 466 check-cast p1, Lcom/moji/http/snsforum/entity/HomePageInfo; invoke-virtual {p0, p1}, Lcom/moji/mjweather/TabNewLiveViewFragment$13;->a(Lcom/moji/http/snsforum/entity/HomePageInfo;)V return-void .end method