.class Lcom/moji/forum/ui/TopicActivity$37;
.super Ljava/lang/Object;
.source "TopicActivity.java"

# interfaces
.implements Lcom/moji/forum/ui/CommonLongClickDialog$OnLongClickResultListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/forum/ui/TopicActivity;->onItemLongClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)Z
.end annotation

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


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


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

    .line 2663
    iput-object p1, p0, Lcom/moji/forum/ui/TopicActivity$37;->a:Lcom/moji/forum/ui/TopicActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onDeleteSuccessListener(Ljava/lang/String;)V
    .locals 3

    .line 2667
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string v1, "topic_delete"

    const/4 v2, 0x1

    .line 2668
    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string v1, "input_topic_id"

    .line 2669
    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 2670
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity$37;->a:Lcom/moji/forum/ui/TopicActivity;

    const/4 v1, -0x1

    invoke-virtual {p1, v1, v0}, Lcom/moji/forum/ui/TopicActivity;->setResult(ILandroid/content/Intent;)V

    .line 2671
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity$37;->a:Lcom/moji/forum/ui/TopicActivity;

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

    return-void
.end method

.method public onReply()V
    .locals 4

    .line 2676
    invoke-static {}, Lcom/moji/forum/common/ForumUtil;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2677
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity$37;->a:Lcom/moji/forum/ui/TopicActivity;

    invoke-static {v0}, Lcom/moji/forum/ui/TopicActivity;->m(Lcom/moji/forum/ui/TopicActivity;)Landroid/widget/RelativeLayout;

    move-result-object v0

    const/16 v1, 0x8

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

    .line 2678
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity$37;->a:Lcom/moji/forum/ui/TopicActivity;

    invoke-static {v0}, Lcom/moji/forum/ui/TopicActivity;->O(Lcom/moji/forum/ui/TopicActivity;)Lcom/moji/forum/ui/TopicActivity$TopicHandler;

    move-result-object v0

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity$37;->a:Lcom/moji/forum/ui/TopicActivity;

    invoke-static {v1}, Lcom/moji/forum/ui/TopicActivity;->O(Lcom/moji/forum/ui/TopicActivity;)Lcom/moji/forum/ui/TopicActivity$TopicHandler;

    move-result-object v1

    const/16 v2, 0x64

    invoke-virtual {v1, v2}, Lcom/moji/forum/ui/TopicActivity$TopicHandler;->obtainMessage(I)Landroid/os/Message;

    move-result-object v1

    const-wide/16 v2, 0xc8

    invoke-virtual {v0, v1, v2, v3}, Lcom/moji/forum/ui/TopicActivity$TopicHandler;->sendMessageDelayed(Landroid/os/Message;J)Z

    goto :goto_0

    .line 2680
    :cond_0
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity$37;->a:Lcom/moji/forum/ui/TopicActivity;

    invoke-static {v0}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;)V

    :goto_0
    return-void
.end method
