.class public abstract Lcom/moji/mvpframe/MVPFragment; .super Lcom/moji/base/MJFragment; .source "MVPFragment.java" # interfaces .implements Lcom/moji/mvpframe/IMJMvpView; # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Lcom/moji/base/MJFragment;", "Lcom/moji/mvpframe/IMJMvpView;" } .end annotation # instance fields .field protected b:Lcom/moji/mvpframe/BasePresenter; .annotation system Ldalvik/annotation/Signature; value = { "TP;" } .end annotation .end field .field private c:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate; # direct methods .method public constructor ()V .locals 0 .line 19 invoke-direct {p0}, Lcom/moji/base/MJFragment;->()V return-void .end method .method private a()V .locals 2 .line 50 iget-object v0, p0, Lcom/moji/mvpframe/MVPFragment;->b:Lcom/moji/mvpframe/BasePresenter; if-eqz v0, :cond_0 return-void .line 51 :cond_0 new-instance v0, Ljava/lang/IllegalStateException; const-string v1, "mPresenter can nor be null,please init it in instancePresenter method" invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw v0 .end method # virtual methods .method protected abstract c()Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate; .end method .method protected abstract d()Lcom/moji/mvpframe/BasePresenter; .annotation system Ldalvik/annotation/Signature; value = { "()TP;" } .end annotation .end method .method protected e()Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate; .locals 1 .line 161 iget-object v0, p0, Lcom/moji/mvpframe/MVPFragment;->c:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate; return-object v0 .end method .method public onAttach(Landroid/content/Context;)V .locals 1 .line 25 invoke-virtual {p0}, Lcom/moji/mvpframe/MVPFragment;->d()Lcom/moji/mvpframe/BasePresenter; move-result-object v0 iput-object v0, p0, Lcom/moji/mvpframe/MVPFragment;->b:Lcom/moji/mvpframe/BasePresenter; .line 26 invoke-super {p0, p1}, Lcom/moji/base/MJFragment;->onAttach(Landroid/content/Context;)V .line 27 invoke-direct {p0}, Lcom/moji/mvpframe/MVPFragment;->a()V return-void .end method .method public onCreate(Landroid/os/Bundle;)V .locals 0 .line 32 invoke-super {p0, p1}, Lcom/moji/base/MJFragment;->onCreate(Landroid/os/Bundle;)V .line 33 invoke-virtual {p0}, Lcom/moji/mvpframe/MVPFragment;->c()Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate; move-result-object p1 iput-object p1, p0, Lcom/moji/mvpframe/MVPFragment;->c:Lcom/moji/mvpframe/delegate/AbsStatusViewDelegate; return-void .end method