.class Lcom/moji/forum/ui/ReportOrGagActivity$1;
.super Lcom/moji/requestcore/MJHttpCallback;
.source "ReportOrGagActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/forum/ui/ReportOrGagActivity;->a(Ljava/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/MJHttpCallback<",
        "Lcom/moji/requestcore/entity/MJBaseRespRc;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/forum/ui/ReportOrGagActivity;


# direct methods
.method constructor <init>(Lcom/moji/forum/ui/ReportOrGagActivity;)V
    .locals 0

    .line 104
    iput-object p1, p0, Lcom/moji/forum/ui/ReportOrGagActivity$1;->a:Lcom/moji/forum/ui/ReportOrGagActivity;

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

    return-void
.end method


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

    .line 119
    iget-object v0, p0, Lcom/moji/forum/ui/ReportOrGagActivity$1;->a:Lcom/moji/forum/ui/ReportOrGagActivity;

    invoke-virtual {p1}, Lcom/moji/requestcore/entity/IResult;->b()Ljava/lang/String;

    move-result-object p1

    const/4 v1, 0x1

    invoke-static {v0, p1, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/Toast;->show()V

    return-void
.end method

.method public a(Lcom/moji/requestcore/entity/MJBaseRespRc;)V
    .locals 2

    .line 107
    iget-object p1, p0, Lcom/moji/forum/ui/ReportOrGagActivity$1;->a:Lcom/moji/forum/ui/ReportOrGagActivity;

    sget v0, Lcom/moji/forum/R$string;->forum_report_topic_success:I

    const/4 v1, 0x1

    invoke-static {p1, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/Toast;->show()V

    .line 108
    iget-object p1, p0, Lcom/moji/forum/ui/ReportOrGagActivity$1;->a:Lcom/moji/forum/ui/ReportOrGagActivity;

    invoke-virtual {p1}, Lcom/moji/forum/ui/ReportOrGagActivity;->dismissLoadDialog()V

    .line 109
    iget-object p1, p0, Lcom/moji/forum/ui/ReportOrGagActivity$1;->a:Lcom/moji/forum/ui/ReportOrGagActivity;

    invoke-virtual {p1}, Lcom/moji/forum/ui/ReportOrGagActivity;->finish()V

    return-void
.end method

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

    .line 114
    iget-object p1, p0, Lcom/moji/forum/ui/ReportOrGagActivity$1;->a:Lcom/moji/forum/ui/ReportOrGagActivity;

    invoke-virtual {p1}, Lcom/moji/forum/ui/ReportOrGagActivity;->dismissLoadDialog()V

    return-void
.end method

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

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

    invoke-virtual {p0, p1}, Lcom/moji/forum/ui/ReportOrGagActivity$1;->a(Lcom/moji/requestcore/entity/MJBaseRespRc;)V

    return-void
.end method
