.class Lcom/moji/mjweather/dailydetail/TideDetailActivity$5;
.super Lcom/moji/requestcore/MJBaseHttpCallback;
.source "TideDetailActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/dailydetail/TideDetailActivity;->j()V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/requestcore/MJBaseHttpCallback<",
        "Ljava/lang/String;",
        ">;"
    }
.end annotation


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


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

    .line 256
    iput-object p1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$5;->a:Lcom/moji/mjweather/dailydetail/TideDetailActivity;

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

    return-void
.end method


# virtual methods
.method protected a(Ljava/lang/String;)V
    .locals 1

    .line 262
    :try_start_0
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 263
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$5;->a:Lcom/moji/mjweather/dailydetail/TideDetailActivity;

    invoke-static {p1, v0}, Lcom/moji/mjweather/dailydetail/TideDetailActivity;->a(Lcom/moji/mjweather/dailydetail/TideDetailActivity;Lorg/json/JSONObject;)V

    .line 264
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$5;->a:Lcom/moji/mjweather/dailydetail/TideDetailActivity;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/TideDetailActivity;->c(Lcom/moji/mjweather/dailydetail/TideDetailActivity;)Landroid/widget/LinearLayout;

    move-result-object p1

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 265
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$5;->a:Lcom/moji/mjweather/dailydetail/TideDetailActivity;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/TideDetailActivity;->b(Lcom/moji/mjweather/dailydetail/TideDetailActivity;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    move-result-object p1

    invoke-virtual {p1}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->G()V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 268
    iget-object v0, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$5;->a:Lcom/moji/mjweather/dailydetail/TideDetailActivity;

    invoke-static {v0}, Lcom/moji/mjweather/dailydetail/TideDetailActivity;->h(Lcom/moji/mjweather/dailydetail/TideDetailActivity;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0, p1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    :goto_0
    return-void
.end method

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

    .line 274
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$5;->a:Lcom/moji/mjweather/dailydetail/TideDetailActivity;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/TideDetailActivity;->b(Lcom/moji/mjweather/dailydetail/TideDetailActivity;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    move-result-object p1

    invoke-virtual {p1}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->G()V

    .line 275
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$5;->a:Lcom/moji/mjweather/dailydetail/TideDetailActivity;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/TideDetailActivity;->b(Lcom/moji/mjweather/dailydetail/TideDetailActivity;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    move-result-object p1

    invoke-virtual {p1}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->E()V

    .line 277
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$5;->a:Lcom/moji/mjweather/dailydetail/TideDetailActivity;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/TideDetailActivity;->c(Lcom/moji/mjweather/dailydetail/TideDetailActivity;)Landroid/widget/LinearLayout;

    move-result-object p1

    const/4 v0, 0x4

    invoke-virtual {p1, v0}, Landroid/widget/LinearLayout;->setVisibility(I)V

    return-void
.end method

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

    .line 256
    check-cast p1, Ljava/lang/String;

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/dailydetail/TideDetailActivity$5;->a(Ljava/lang/String;)V

    return-void
.end method
