.class Lcom/moji/mjallergy/presenter/AllergyMainPresenter$2;
.super Lcom/moji/requestcore/MJHttpCallback;
.source "AllergyMainPresenter.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjallergy/presenter/AllergyMainPresenter;->a(J)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/allergy/bean/AllergyArticleBean;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjallergy/presenter/AllergyMainPresenter;


# direct methods
.method constructor <init>(Lcom/moji/mjallergy/presenter/AllergyMainPresenter;)V
    .locals 0

    .line 40
    iput-object p1, p0, Lcom/moji/mjallergy/presenter/AllergyMainPresenter$2;->a:Lcom/moji/mjallergy/presenter/AllergyMainPresenter;

    invoke-direct {p0}, Lcom/moji/requestcore/MJHttpCallback;-><init>()V

    return-void
.end method


# virtual methods
.method protected a(Lcom/moji/http/allergy/bean/AllergyArticleBean;)V
    .locals 1

    .line 43
    iget-object v0, p0, Lcom/moji/mjallergy/presenter/AllergyMainPresenter$2;->a:Lcom/moji/mjallergy/presenter/AllergyMainPresenter;

    invoke-static {v0}, Lcom/moji/mjallergy/presenter/AllergyMainPresenter;->c(Lcom/moji/mjallergy/presenter/AllergyMainPresenter;)Lcom/moji/base/MJPresenter$ICallback;

    move-result-object v0

    check-cast v0, Lcom/moji/mjallergy/presenter/AllergyMainPresenter$MainCallback;

    invoke-interface {v0, p1}, Lcom/moji/mjallergy/presenter/AllergyMainPresenter$MainCallback;->onArticleSuccess(Lcom/moji/http/allergy/bean/AllergyArticleBean;)V

    return-void
.end method

.method protected onFailed(Lcom/moji/requestcore/MJException;)V
    .locals 1

    const-string v0, "AllergyMainPresenter"

    .line 48
    invoke-static {v0, p1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 49
    iget-object p1, p0, Lcom/moji/mjallergy/presenter/AllergyMainPresenter$2;->a:Lcom/moji/mjallergy/presenter/AllergyMainPresenter;

    invoke-static {p1}, Lcom/moji/mjallergy/presenter/AllergyMainPresenter;->d(Lcom/moji/mjallergy/presenter/AllergyMainPresenter;)Lcom/moji/base/MJPresenter$ICallback;

    move-result-object p1

    check-cast p1, Lcom/moji/mjallergy/presenter/AllergyMainPresenter$MainCallback;

    invoke-interface {p1}, Lcom/moji/mjallergy/presenter/AllergyMainPresenter$MainCallback;->onArticleFailed()V

    return-void
.end method

.method protected synthetic onSuccess(Ljava/lang/Object;)V
    .locals 0

    .line 40
    check-cast p1, Lcom/moji/http/allergy/bean/AllergyArticleBean;

    invoke-virtual {p0, p1}, Lcom/moji/mjallergy/presenter/AllergyMainPresenter$2;->a(Lcom/moji/http/allergy/bean/AllergyArticleBean;)V

    return-void
.end method
