.class Lcom/moji/mjweather/feed/FeedSubjectDetailActivity$5;
.super Lcom/moji/requestcore/MJBaseHttpCallback;
.source "FeedSubjectDetailActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;->sendComment(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/MJBaseHttpCallback<",
        "Lcom/moji/requestcore/entity/MJBaseRespRc;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;


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

    .line 381
    iput-object p1, p0, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity$5;->a:Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;

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

    return-void
.end method


# virtual methods
.method protected a(Lcom/moji/requestcore/entity/MJBaseRespRc;)V
    .locals 1

    .line 384
    invoke-virtual {p1}, Lcom/moji/requestcore/entity/MJBaseRespRc;->OK()Z

    move-result v0

    if-nez v0, :cond_0

    .line 385
    invoke-virtual {p1}, Lcom/moji/requestcore/entity/MJBaseRespRc;->getDesc()Ljava/lang/String;

    move-result-object p1

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

    const/4 p1, 0x0

    .line 386
    invoke-virtual {p0, p1}, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity$5;->onFailed(Lcom/moji/requestcore/MJException;)V

    return-void

    .line 389
    :cond_0
    sget p1, Lcom/moji/mjweather/feed/R$string;->feed_comment_success:I

    invoke-static {p1}, Lcom/moji/tool/ToastTool;->a(I)V

    .line 390
    iget-object p1, p0, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity$5;->a:Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;

    invoke-static {p1}, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;->m(Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;)V

    return-void
.end method

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

    .line 395
    iget-object p1, p0, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity$5;->a:Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;

    invoke-virtual {p1}, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;->dismissLoadDialog()V

    return-void
.end method

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

    .line 381
    check-cast p1, Lcom/moji/requestcore/entity/MJBaseRespRc;

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity$5;->a(Lcom/moji/requestcore/entity/MJBaseRespRc;)V

    return-void
.end method
