.class Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter$1;
.super Lcom/moji/requestcore/MJBaseHttpCallback;
.source "TyphoonTopCardPresenter.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter;->a(ZDDILjava/lang/String;I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/requestcore/MJBaseHttpCallback<",
        "Lcom/moji/http/show/TyphoonDetailList;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter;)V
    .locals 0

    .line 57
    iput-object p1, p0, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter$1;->a:Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter;

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

    return-void
.end method


# virtual methods
.method protected a(Lcom/moji/http/show/TyphoonDetailList;)V
    .locals 1

    if-eqz p1, :cond_1

    .line 61
    iget-object p1, p1, Lcom/moji/http/show/TyphoonDetailList;->typhoon_resbean_list:Ljava/util/List;

    if-eqz p1, :cond_0

    .line 62
    invoke-interface {p1}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_0

    .line 63
    iget-object v0, p0, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter$1;->a:Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter;

    invoke-static {v0}, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter;->a(Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter;)Lcom/moji/base/MJPresenter$ICallback;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter$TyphoonTopCardCallBack;

    invoke-interface {v0, p1}, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter$TyphoonTopCardCallBack;->loadTyphoonTopCardSuccess(Ljava/util/List;)V

    goto :goto_0

    .line 65
    :cond_0
    iget-object p1, p0, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter$1;->a:Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter;

    invoke-static {p1}, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter;->b(Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter;)Lcom/moji/base/MJPresenter$ICallback;

    move-result-object p1

    check-cast p1, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter$TyphoonTopCardCallBack;

    invoke-interface {p1}, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter$TyphoonTopCardCallBack;->loadTyphoonTopCardFailed()V

    goto :goto_0

    .line 68
    :cond_1
    iget-object p1, p0, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter$1;->a:Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter;

    invoke-static {p1}, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter;->c(Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter;)Lcom/moji/base/MJPresenter$ICallback;

    move-result-object p1

    check-cast p1, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter$TyphoonTopCardCallBack;

    invoke-interface {p1}, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter$TyphoonTopCardCallBack;->loadTyphoonTopCardFailed()V

    :goto_0
    return-void
.end method

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

    .line 74
    iget-object p1, p0, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter$1;->a:Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter;

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

    move-result-object p1

    check-cast p1, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter$TyphoonTopCardCallBack;

    invoke-interface {p1}, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter$TyphoonTopCardCallBack;->loadTyphoonTopCardFailed()V

    return-void
.end method

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

    .line 57
    check-cast p1, Lcom/moji/http/show/TyphoonDetailList;

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/typhoon/presenter/TyphoonTopCardPresenter$1;->a(Lcom/moji/http/show/TyphoonDetailList;)V

    return-void
.end method
