.class Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$1;
.super Lcom/moji/requestcore/MJHttpCallback;
.source "CalendarAndConstellationPresenter.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;->a(IILjava/lang/String;JLjava/lang/String;)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/sch/DailyDetailEntity;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;


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

    .line 24
    iput-object p1, p0, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$1;->a:Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;

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

    return-void
.end method


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

    .line 27
    iget-object v0, p0, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$1;->a:Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;

    invoke-static {v0}, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;->a(Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;)Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$CalendarConstellAtionCallBack;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 28
    iget-object v0, p0, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$1;->a:Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;

    invoke-static {v0}, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;->a(Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;)Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$CalendarConstellAtionCallBack;

    move-result-object v0

    invoke-interface {v0, p1}, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$CalendarConstellAtionCallBack;->a(Lcom/moji/http/sch/DailyDetailEntity;)V

    :cond_0
    return-void
.end method

.method protected a(Lcom/moji/requestcore/entity/IResult;)V
    .locals 1

    .line 34
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$1;->a:Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;->a(Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;)Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$CalendarConstellAtionCallBack;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 35
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$1;->a:Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;->a(Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;)Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$CalendarConstellAtionCallBack;

    move-result-object p1

    const/16 v0, 0x25a

    invoke-interface {p1, v0}, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$CalendarConstellAtionCallBack;->a(I)V

    :cond_0
    return-void
.end method

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

    .line 41
    iget-object v0, p0, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$1;->a:Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;

    invoke-static {v0}, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;->a(Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;)Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$CalendarConstellAtionCallBack;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 42
    iget-object v0, p0, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$1;->a:Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;

    invoke-static {v0}, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;->a(Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter;)Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$CalendarConstellAtionCallBack;

    move-result-object v0

    invoke-virtual {p1}, Lcom/moji/requestcore/MJException;->getCode()I

    move-result p1

    invoke-interface {v0, p1}, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$CalendarConstellAtionCallBack;->a(I)V

    :cond_0
    return-void
.end method

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

    .line 24
    check-cast p1, Lcom/moji/http/sch/DailyDetailEntity;

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/dailydetail/presenter/CalendarAndConstellationPresenter$1;->a(Lcom/moji/http/sch/DailyDetailEntity;)V

    return-void
.end method
