.class public abstract Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment; .super Lcom/moji/mjweather/me/fragment/MJMVPFragment; .source "MJMVPPageLoadFragment.java" # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Lcom/moji/mjweather/me/fragment/MJMVPFragment<", "TP;>;" } .end annotation # instance fields .field private c:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout; # direct methods .method public constructor ()V .locals 0 .line 23 invoke-direct {p0}, Lcom/moji/mjweather/me/fragment/MJMVPFragment;->()V return-void .end method .method private b(Landroid/view/View;)V .locals 1 const v0, 0x7f0908db .line 62 invoke-virtual {p0, p1, v0}, Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment;->a(Landroid/view/View;I)Ljava/lang/Object; move-result-object p1 check-cast p1, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout; iput-object p1, p0, Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment;->c:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout; .line 63 iget-object p1, p0, Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment;->c:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout; if-eqz p1, :cond_0 return-void .line 64 :cond_0 new-instance p1, Ljava/lang/IllegalStateException; const-string v0, "mStatusLayout can nor be null,please make sure that the layout contains MJMultipleStatusLayout at the same time,the id named with status_layout" invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p1 .end method .method private f()V .locals 2 .line 53 iget-object v0, p0, Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment;->c:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout; new-instance v1, Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment$1; invoke-direct {v1, p0}, Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment$1;->(Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment;)V invoke-virtual {v0, v1}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->setOnRetryClickListener(Landroid/view/View$OnClickListener;)V return-void .end method .method private g()V .locals 2 .line 69 invoke-virtual {p0}, Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment;->e()Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate; move-result-object v0 iget-object v1, p0, Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment;->c:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout; invoke-virtual {p0, v1}, Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment;->a(Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;)Lcom/moji/mvpframe/delegate/IStatusLoad; move-result-object v1 invoke-virtual {v0, v1}, Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate;->a(Lcom/moji/mvpframe/delegate/IStatusLoad;)V return-void .end method # virtual methods .method protected abstract a()I .annotation build Landroid/support/annotation/LayoutRes; .end annotation .end method .method protected a(Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;)Lcom/moji/mvpframe/delegate/IStatusLoad; .locals 1 .line 73 new-instance v0, Lcom/moji/mjweather/me/MultipleStatusLayoutImpl; invoke-direct {v0, p1}, Lcom/moji/mjweather/me/MultipleStatusLayoutImpl;->(Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;)V return-object v0 .end method .method protected abstract a(Landroid/view/View;)V .end method .method protected abstract b()V .end method .method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View; .locals 0 .annotation build Landroid/support/annotation/Nullable; .end annotation .line 38 invoke-virtual {p0}, Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment;->a()I move-result p2 const/4 p3, 0x0 invoke-virtual {p1, p2, p3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View; move-result-object p1 .line 39 invoke-direct {p0, p1}, Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment;->b(Landroid/view/View;)V .line 40 invoke-direct {p0}, Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment;->f()V .line 41 invoke-direct {p0}, Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment;->g()V .line 42 invoke-virtual {p0, p1}, Lcom/moji/mjweather/me/fragment/MJMVPPageLoadFragment;->a(Landroid/view/View;)V return-object p1 .end method