.class Lcom/moji/forum/ui/VoteTopicActivity$18;
.super Lcom/moji/requestcore/MJHttpCallback;
.source "VoteTopicActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/forum/ui/VoteTopicActivity;->b(Z)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/http/mqn/entity/TopicVote;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Z

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


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

    .line 1745
    iput-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity$18;->b:Lcom/moji/forum/ui/VoteTopicActivity;

    iput-boolean p2, p0, Lcom/moji/forum/ui/VoteTopicActivity$18;->a:Z

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

    return-void
.end method


# virtual methods
.method protected a(Lcom/moji/http/mqn/entity/TopicVote;)V
    .locals 1

    .line 1748
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity$18;->b:Lcom/moji/forum/ui/VoteTopicActivity;

    iput-object p1, v0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    .line 1750
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity$18;->b:Lcom/moji/forum/ui/VoteTopicActivity;

    iget-object p1, p1, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    if-eqz p1, :cond_0

    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity$18;->b:Lcom/moji/forum/ui/VoteTopicActivity;

    iget-object p1, p1, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object p1, p1, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    if-eqz p1, :cond_0

    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity$18;->b:Lcom/moji/forum/ui/VoteTopicActivity;

    iget-object p1, p1, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object p1, p1, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p1

    if-eqz p1, :cond_0

    .line 1751
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity$18;->b:Lcom/moji/forum/ui/VoteTopicActivity;

    iget-boolean v0, p0, Lcom/moji/forum/ui/VoteTopicActivity$18;->a:Z

    invoke-static {p1, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->c(Lcom/moji/forum/ui/VoteTopicActivity;Z)V

    :cond_0
    return-void
.end method

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

    return-void
.end method

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

    .line 1745
    check-cast p1, Lcom/moji/http/mqn/entity/TopicVote;

    invoke-virtual {p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity$18;->a(Lcom/moji/http/mqn/entity/TopicVote;)V

    return-void
.end method
