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

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/forum/ui/VoteTopicActivity;->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:Landroid/app/Dialog;

.field final synthetic b:Lcom/moji/http/mqn/entity/TopicComment;

.field final synthetic c:Lcom/moji/forum/ui/VoteTopicActivity;


# direct methods
.method constructor <init>(Lcom/moji/forum/ui/VoteTopicActivity;Landroid/app/Dialog;Lcom/moji/http/mqn/entity/TopicComment;)V
    .locals 0

    .line 1960
    iput-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity$22;->c:Lcom/moji/forum/ui/VoteTopicActivity;

    iput-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity$22;->a:Landroid/app/Dialog;

    iput-object p3, p0, Lcom/moji/forum/ui/VoteTopicActivity$22;->b:Lcom/moji/http/mqn/entity/TopicComment;

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

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2

    .line 1964
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity$22;->a:Landroid/app/Dialog;

    invoke-virtual {p1}, Landroid/app/Dialog;->dismiss()V

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

    move-result p1

    if-eqz p1, :cond_0

    .line 1966
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity$22;->c:Lcom/moji/forum/ui/VoteTopicActivity;

    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity$22;->b:Lcom/moji/http/mqn/entity/TopicComment;

    iget-wide v0, v0, Lcom/moji/http/mqn/entity/TopicComment;->id:J

    invoke-virtual {p1, v0, v1}, Lcom/moji/forum/ui/VoteTopicActivity;->a(J)V

    goto :goto_0

    .line 1968
    :cond_0
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity$22;->c:Lcom/moji/forum/ui/VoteTopicActivity;

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

    :goto_0
    return-void
.end method
