.class Lcom/moji/mjweather/TabNewLiveViewFragment$14; .super Lcom/moji/requestcore/MJHttpCallback; .source "TabNewLiveViewFragment.java" # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/moji/mjweather/TabNewLiveViewFragment;->a(IZ)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lcom/moji/requestcore/MJHttpCallback<", "Lcom/moji/http/snsforum/entity/HomePageInfo;", ">;" } .end annotation # instance fields .field final synthetic a:Z .field final synthetic b:Lcom/moji/mjweather/TabNewLiveViewFragment; # direct methods .method constructor (Lcom/moji/mjweather/TabNewLiveViewFragment;Z)V .locals 0 .line 547 iput-object p1, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; iput-boolean p2, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->a:Z invoke-direct {p0}, Lcom/moji/requestcore/MJHttpCallback;->()V return-void .end method # virtual methods .method protected a(Lcom/moji/http/snsforum/entity/HomePageInfo;)V .locals 2 .line 551 invoke-super {p0, p1}, Lcom/moji/requestcore/MJHttpCallback;->onConvertNotUI(Ljava/lang/Object;)V .line 552 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 553 invoke-virtual {v0, p1}, Lcom/google/gson/Gson;->toJson(Ljava/lang/Object;)Ljava/lang/String; move-result-object p1 .line 554 invoke-static {}, Lcom/moji/preferences/LiveViewPrefer;->c()Lcom/moji/preferences/LiveViewPrefer; move-result-object v0 invoke-virtual {v0, p1}, Lcom/moji/preferences/LiveViewPrefer;->a(Ljava/lang/String;)V .line 555 invoke-static {}, Ljava/lang/System;->currentTimeMillis()J move-result-wide v0 .line 556 invoke-static {}, Lcom/moji/preferences/LiveViewPrefer;->c()Lcom/moji/preferences/LiveViewPrefer; move-result-object p1 invoke-virtual {p1, v0, v1}, Lcom/moji/preferences/LiveViewPrefer;->a(J)V return-void .end method .method protected b(Lcom/moji/http/snsforum/entity/HomePageInfo;)V .locals 3 .line 561 iget-object v0, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; const/4 v1, 0x0 invoke-static {v0, v1}, Lcom/moji/mjweather/TabNewLiveViewFragment;->d(Lcom/moji/mjweather/TabNewLiveViewFragment;Z)Z .line 562 iget-object v0, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; const/4 v1, 0x1 invoke-static {v0, v1}, Lcom/moji/mjweather/TabNewLiveViewFragment;->e(Lcom/moji/mjweather/TabNewLiveViewFragment;Z)Z .line 563 iget-object v0, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {}, Ljava/lang/System;->currentTimeMillis()J move-result-wide v1 invoke-static {v0, v1, v2}, Lcom/moji/mjweather/TabNewLiveViewFragment;->a(Lcom/moji/mjweather/TabNewLiveViewFragment;J)J .line 564 iget-object v0, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; iget-boolean v1, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->a:Z invoke-static {v0, p1, v1}, Lcom/moji/mjweather/TabNewLiveViewFragment;->a(Lcom/moji/mjweather/TabNewLiveViewFragment;Lcom/moji/http/snsforum/entity/HomePageInfo;Z)V .line 565 iget-object v0, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; iget-object v1, p1, Lcom/moji/http/snsforum/entity/HomePageInfo;->search_background_url:Ljava/lang/String; invoke-static {v0, v1}, Lcom/moji/mjweather/TabNewLiveViewFragment;->a(Lcom/moji/mjweather/TabNewLiveViewFragment;Ljava/lang/String;)V .line 566 iget-object v0, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {v0}, Lcom/moji/mjweather/TabNewLiveViewFragment;->c(Lcom/moji/mjweather/TabNewLiveViewFragment;)Z move-result v0 if-eqz v0, :cond_0 .line 567 iget-object v0, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-virtual {v0}, Lcom/moji/mjweather/TabNewLiveViewFragment;->e()V .line 569 iget-object v0, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {v0}, Lcom/moji/mjweather/TabNewLiveViewFragment;->b(Lcom/moji/mjweather/TabNewLiveViewFragment;)Z move-result v0 if-nez v0, :cond_0 iget-object v0, p1, Lcom/moji/http/snsforum/entity/HomePageInfo;->camera_promote_picture:Ljava/lang/String; invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z move-result v0 if-nez v0, :cond_0 .line 572 iget-object v0, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {v0}, Lcom/moji/mjweather/TabNewLiveViewFragment;->a(Lcom/moji/mjweather/TabNewLiveViewFragment;)Lcom/moji/newliveview/home/presenter/SendPictureTipPresenter; move-result-object v0 invoke-virtual {v0}, Lcom/moji/newliveview/home/presenter/SendPictureTipPresenter;->c()Z move-result v0 if-nez v0, :cond_0 .line 573 iget-object v0, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {v0}, Lcom/moji/mjweather/TabNewLiveViewFragment;->a(Lcom/moji/mjweather/TabNewLiveViewFragment;)Lcom/moji/newliveview/home/presenter/SendPictureTipPresenter; move-result-object v0 iget-object v1, p1, Lcom/moji/http/snsforum/entity/HomePageInfo;->camera_promote_picture:Ljava/lang/String; iget-object p1, p1, Lcom/moji/http/snsforum/entity/HomePageInfo;->camera_promote_text:Ljava/lang/String; invoke-virtual {v0, v1, p1}, Lcom/moji/newliveview/home/presenter/SendPictureTipPresenter;->a(Ljava/lang/String;Ljava/lang/String;)V .line 574 iget-object p1, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {p1}, Lcom/moji/mjweather/TabNewLiveViewFragment;->l(Lcom/moji/mjweather/TabNewLiveViewFragment;)Lcom/moji/newliveview/home/presenter/CheckAlbumPresenter; move-result-object p1 invoke-virtual {p1}, Lcom/moji/newliveview/home/presenter/CheckAlbumPresenter;->a()V :cond_0 return-void .end method .method protected synthetic onConvertNotUI(Ljava/lang/Object;)V .locals 0 .line 547 check-cast p1, Lcom/moji/http/snsforum/entity/HomePageInfo; invoke-virtual {p0, p1}, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->a(Lcom/moji/http/snsforum/entity/HomePageInfo;)V return-void .end method .method protected onFailed(Lcom/moji/requestcore/MJException;)V .locals 1 .line 583 iget-object p1, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; const/4 v0, 0x0 invoke-static {p1, v0}, Lcom/moji/mjweather/TabNewLiveViewFragment;->d(Lcom/moji/mjweather/TabNewLiveViewFragment;Z)Z .line 584 iget-object p1, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {p1}, Lcom/moji/mjweather/TabNewLiveViewFragment;->m(Lcom/moji/mjweather/TabNewLiveViewFragment;)Lcom/moji/mjad/common/data/LiveAdPresenter; move-result-object p1 if-eqz p1, :cond_0 .line 585 iget-object p1, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {p1}, Lcom/moji/mjweather/TabNewLiveViewFragment;->m(Lcom/moji/mjweather/TabNewLiveViewFragment;)Lcom/moji/mjad/common/data/LiveAdPresenter; move-result-object p1 const/4 v0, 0x0 invoke-virtual {p1, v0}, Lcom/moji/mjad/common/data/LiveAdPresenter;->a(Lcom/moji/http/snsforum/entity/HomePageInfo;)V .line 586 iget-object p1, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {p1}, Lcom/moji/mjweather/TabNewLiveViewFragment;->m(Lcom/moji/mjweather/TabNewLiveViewFragment;)Lcom/moji/mjad/common/data/LiveAdPresenter; move-result-object p1 const/4 v0, 0x1 invoke-virtual {p1, v0}, Lcom/moji/mjad/common/data/LiveAdPresenter;->a(Z)V .line 588 :cond_0 iget-object p1, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b:Lcom/moji/mjweather/TabNewLiveViewFragment; invoke-static {p1}, Lcom/moji/mjweather/TabNewLiveViewFragment;->n(Lcom/moji/mjweather/TabNewLiveViewFragment;)Lcom/moji/swiperefreshlayout/SwipeRefreshLayout; move-result-object p1 invoke-virtual {p1}, Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;->b()V return-void .end method .method protected synthetic onSuccess(Ljava/lang/Object;)V .locals 0 .line 547 check-cast p1, Lcom/moji/http/snsforum/entity/HomePageInfo; invoke-virtual {p0, p1}, Lcom/moji/mjweather/TabNewLiveViewFragment$14;->b(Lcom/moji/http/snsforum/entity/HomePageInfo;)V return-void .end method