.class Lcom/moji/mjweather/weather/WeatherPagePresenter$5;
.super Ljava/lang/Object;
.source "WeatherPagePresenter.java"

# interfaces
.implements Lcom/moji/mvpframe/delegate/ILoadingCallback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/weather/WeatherPagePresenter;->a(Lcom/moji/weatherprovider/update/WeatherUpdater$UPDATE_TYPE;)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/mjweather/weather/WeatherPagePresenter;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/weather/WeatherPagePresenter;)V
    .locals 0

    .line 558
    iput-object p1, p0, Lcom/moji/mjweather/weather/WeatherPagePresenter$5;->a:Lcom/moji/mjweather/weather/WeatherPagePresenter;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    .line 561
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPagePresenter$5;->a:Lcom/moji/mjweather/weather/WeatherPagePresenter;

    invoke-static {v0}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->u(Lcom/moji/mjweather/weather/WeatherPagePresenter;)Lcom/moji/mvpframe/IMJMvpView;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/weather/IWeatherPageView;

    invoke-interface {v0}, Lcom/moji/mjweather/weather/IWeatherPageView;->g()Z

    move-result v0

    if-nez v0, :cond_0

    .line 562
    iget-object v0, p0, Lcom/moji/mjweather/weather/WeatherPagePresenter$5;->a:Lcom/moji/mjweather/weather/WeatherPagePresenter;

    invoke-static {v0}, Lcom/moji/mjweather/weather/WeatherPagePresenter;->v(Lcom/moji/mjweather/weather/WeatherPagePresenter;)Lcom/moji/mvpframe/IMJMvpView;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/weather/IWeatherPageView;

    new-instance v1, Lcom/moji/requestcore/MJException;

    const/16 v2, 0x3e9

    invoke-direct {v1, v2}, Lcom/moji/requestcore/MJException;-><init>(I)V

    invoke-interface {v0, v1}, Lcom/moji/mjweather/weather/IWeatherPageView;->dealRequestError(Lcom/moji/requestcore/MJException;)V

    :cond_0
    return-void
.end method
