.class Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter$2;
.super Lcom/moji/requestcore/MJHttpCallback;
.source "MapViewViewPresenter.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;->a(DD)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/rdimg/SFCRadarResp;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;)V
    .locals 0

    .line 89
    iput-object p1, p0, Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter$2;->a:Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;

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

    return-void
.end method


# virtual methods
.method public a(Lcom/moji/http/rdimg/SFCRadarResp;)V
    .locals 1

    .line 92
    iget-object v0, p0, Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter$2;->a:Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;

    invoke-static {v0}, Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;->a(Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;)Lcom/moji/mjweather/shorttimedetail/map/MapViewContracts$IMapView;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter$2;->a:Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;

    invoke-static {v0}, Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;->a(Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;)Lcom/moji/mjweather/shorttimedetail/map/MapViewContracts$IMapView;

    move-result-object v0

    invoke-interface {v0}, Lcom/moji/mjweather/shorttimedetail/map/MapViewContracts$IMapView;->isResumed()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 93
    iget-object v0, p0, Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter$2;->a:Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;

    invoke-static {v0}, Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;->a(Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;)Lcom/moji/mjweather/shorttimedetail/map/MapViewContracts$IMapView;

    move-result-object v0

    invoke-interface {v0, p1}, Lcom/moji/mjweather/shorttimedetail/map/MapViewContracts$IMapView;->a(Lcom/moji/http/rdimg/SFCRadarResp;)V

    :cond_0
    return-void
.end method

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

    .line 99
    iget-object p1, p0, Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter$2;->a:Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;

    invoke-static {p1}, Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;->a(Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;)Lcom/moji/mjweather/shorttimedetail/map/MapViewContracts$IMapView;

    move-result-object p1

    if-eqz p1, :cond_0

    iget-object p1, p0, Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter$2;->a:Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;

    invoke-static {p1}, Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;->a(Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;)Lcom/moji/mjweather/shorttimedetail/map/MapViewContracts$IMapView;

    move-result-object p1

    invoke-interface {p1}, Lcom/moji/mjweather/shorttimedetail/map/MapViewContracts$IMapView;->isResumed()Z

    move-result p1

    if-eqz p1, :cond_0

    .line 100
    iget-object p1, p0, Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter$2;->a:Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;

    invoke-static {p1}, Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;->a(Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter;)Lcom/moji/mjweather/shorttimedetail/map/MapViewContracts$IMapView;

    move-result-object p1

    invoke-interface {p1}, Lcom/moji/mjweather/shorttimedetail/map/MapViewContracts$IMapView;->a()V

    :cond_0
    return-void
.end method

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

    .line 89
    check-cast p1, Lcom/moji/http/rdimg/SFCRadarResp;

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/shorttimedetail/map/MapViewViewPresenter$2;->a(Lcom/moji/http/rdimg/SFCRadarResp;)V

    return-void
.end method
