.class Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker$1;
.super Lcom/moji/requestcore/MJHttpCallback;
.source "RadarImageCacheWorker.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;->b()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/model/RadarImageCacheWorker;


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

    .line 59
    iput-object p1, p0, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker$1;->a:Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;

    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 2

    .line 62
    iget-object v0, p0, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker$1;->a:Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;

    invoke-static {v0}, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;->a(Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;)Z

    move-result v0

    if-nez v0, :cond_1

    if-eqz p1, :cond_0

    .line 63
    iget-object v0, p1, Lcom/moji/http/rdimg/SFCRadarResp;->real:Ljava/util/List;

    if-eqz v0, :cond_0

    iget-object v0, p1, Lcom/moji/http/rdimg/SFCRadarResp;->real:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    .line 64
    iget-object v0, p0, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker$1;->a:Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;

    iget-object v1, p1, Lcom/moji/http/rdimg/SFCRadarResp;->real:Ljava/util/List;

    invoke-static {v0, v1}, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;->a(Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;Ljava/util/List;)Ljava/util/List;

    .line 65
    iget-object v0, p0, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker$1;->a:Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;

    iget-object p1, p1, Lcom/moji/http/rdimg/SFCRadarResp;->real:Ljava/util/List;

    invoke-static {v0, p1}, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;->b(Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;Ljava/util/List;)V

    goto :goto_0

    .line 67
    :cond_0
    iget-object p1, p0, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker$1;->a:Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;

    invoke-static {p1}, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;->b(Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;)Lcom/moji/mjweather/shorttimedetail/model/CacheListener;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 68
    iget-object p1, p0, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker$1;->a:Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;

    invoke-static {p1}, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;->b(Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;)Lcom/moji/mjweather/shorttimedetail/model/CacheListener;

    move-result-object p1

    const-string v0, ""

    invoke-interface {p1, v0}, Lcom/moji/mjweather/shorttimedetail/model/CacheListener;->a(Ljava/lang/String;)V

    :cond_1
    :goto_0
    return-void
.end method

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

    .line 76
    iget-object v0, p0, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker$1;->a:Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;

    invoke-static {v0}, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;->a(Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker$1;->a:Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;

    invoke-static {v0}, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;->b(Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;)Lcom/moji/mjweather/shorttimedetail/model/CacheListener;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 77
    iget-object v0, p0, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker$1;->a:Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;

    invoke-static {v0}, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;->b(Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker;)Lcom/moji/mjweather/shorttimedetail/model/CacheListener;

    move-result-object v0

    invoke-virtual {p1}, Lcom/moji/requestcore/MJException;->getMessage()Ljava/lang/String;

    move-result-object p1

    invoke-interface {v0, p1}, Lcom/moji/mjweather/shorttimedetail/model/CacheListener;->a(Ljava/lang/String;)V

    :cond_0
    return-void
.end method

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

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

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/shorttimedetail/model/RadarImageCacheWorker$1;->a(Lcom/moji/http/rdimg/SFCRadarResp;)V

    return-void
.end method
