.class public Lcom/moji/forum/ui/TopicActivity;
.super Lcom/moji/forum/ui/ForumShareBaseActivity;
.source "TopicActivity.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemLongClickListener;


# annotations
.annotation build Lcom/moji/router/annotation/Router;
.end annotation

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/forum/ui/TopicActivity$CopyPicTask;,
        Lcom/moji/forum/ui/TopicActivity$TopicHandler;
    }
.end annotation


# static fields
.field public static final AT_FRIEND:I = 0x2a5

.field public static final CAN_NOT_DELETE:Ljava/lang/String; = "can_not_delete"

.field public static final COME_FROM_FAV:Ljava/lang/String; = "come_from_fav"

.field public static final DEL_IMAGE:I = 0x2a7

.field public static final FROM:Ljava/lang/String; = "from"

.field public static final FROM_ROOT:Ljava/lang/String; = "from_root"

.field public static FUNC_CHILD_VIEW_EMOTICON:I = 0x0

.field public static FUNC_CHILD_VIEW_IMAGE:I = 0x1

.field public static final INPUT_AT_INFO_LIST:Ljava/lang/String; = "input_at_info_list"

.field public static final INPUT_CONTENT:Ljava/lang/String; = "input_content"

.field public static final INPUT_IMAGE_LIST:Ljava/lang/String; = "input_image_list"

.field public static final INPUT_TOPIC_ID:Ljava/lang/String; = "input_topic_id"

.field public static final SELECT_IMAGE:I = 0x2a6

.field public static final TOPCIC_DETAIL:I = 0x2

.field public static final TOPIC_DELETE:Ljava/lang/String; = "topic_delete"


# instance fields
.field private A:Lcom/moji/http/mqn/entity/Topic;

.field private B:Landroid/widget/LinearLayout;

.field private C:I

.field private D:I

.field private E:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/mqn/entity/TopicComment;",
            ">;"
        }
    .end annotation
.end field

.field private F:Lcom/moji/emotion/EmotionFragment;

.field private G:Landroid/view/inputmethod/InputMethodManager;

.field private H:Landroid/widget/ImageButton;

.field private I:Landroid/widget/ImageButton;

.field private J:Landroid/widget/ImageButton;

.field private K:Lcom/moji/forum/view/AutoHeightLayout;

.field private L:Landroid/widget/Button;

.field private M:Landroid/widget/Button;

.field private N:Landroid/widget/ImageView;

.field private O:Landroid/widget/RelativeLayout;

.field private P:Landroid/widget/TextView;

.field private Q:Landroid/widget/ImageButton;

.field private R:Landroid/widget/ImageView;

.field private S:Z

.field private T:I

.field private U:Landroid/widget/ImageView;

.field private V:Landroid/widget/ImageView;

.field private W:Landroid/widget/ImageView;

.field private X:I

.field private Y:J

.field private Z:J

.field private aA:Landroid/widget/LinearLayout;

.field private aB:Landroid/widget/ImageView;

.field private aC:Landroid/widget/TextView;

.field private aD:Landroid/widget/TextView;

.field private aE:Landroid/widget/LinearLayout;

.field private aF:Landroid/widget/CheckBox;

.field private aG:Landroid/widget/CheckBox;

.field private aH:Landroid/widget/TextView;

.field private aI:Landroid/widget/LinearLayout;

.field private aJ:Landroid/widget/ImageView;

.field private aK:Landroid/widget/TextView;

.field private aL:Landroid/widget/ImageView;

.field private aM:Landroid/widget/TextView;

.field private aN:Landroid/widget/FrameLayout;

.field private aO:Z

.field private aP:Landroid/widget/FrameLayout;

.field private aQ:Lcom/moji/forum/ui/TopicActivity$TopicHandler;

.field private aR:Landroid/widget/TextView;

.field private aS:Landroid/widget/TextView;

.field private aT:Ljava/lang/String;

.field private aU:Z

.field private aV:Z

.field private aW:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/ugc/bean/AtInfo;",
            ">;"
        }
    .end annotation
.end field

.field private aX:Z

.field private aY:Landroid/widget/TextView;

.field private aZ:Landroid/widget/TextView;

.field private aa:I

.field private ab:I

.field private ac:I

.field private ad:I

.field private ae:Landroid/widget/TextView;

.field private af:Landroid/widget/RelativeLayout;

.field private ag:Z

.field private ah:Landroid/widget/EditText;

.field private ai:Landroid/app/Dialog;

.field private aj:Z

.field private ak:I

.field private al:I

.field private am:Z

.field private an:Landroid/app/Dialog;

.field private ao:I

.field private ap:Landroid/widget/LinearLayout;

.field private aq:Landroid/widget/FrameLayout;

.field private ar:Landroid/widget/RelativeLayout;

.field private as:Landroid/graphics/drawable/Drawable;

.field private at:Landroid/graphics/drawable/Drawable;

.field private au:Ljava/lang/String;

.field private av:I

.field private aw:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/ugc/bean/ImageInfo;",
            ">;"
        }
    .end annotation
.end field

.field private ax:Landroid/widget/GridView;

.field private ay:Lcom/moji/forum/ui/ImageAdapter;

.field private az:Lcom/moji/badge/BadgeView;

.field private ba:Z

.field private bb:Lcom/moji/http/mqn/entity/Topic;

.field private bc:Landroid/view/View;

.field private bd:Lcom/moji/statistics/EventManager;

.field private be:I

.field private bf:I

.field private bg:Landroid/widget/TextView;

.field private bh:Ljava/lang/String;

.field private bi:Lcom/moji/forum/controller/TopicDraftController;

.field private bj:Z

.field private bk:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

.field private bl:Landroid/widget/ImageView;

.field private bm:Landroid/widget/TextView;

.field private bn:I

.field protected m:Z

.field public mChildViewPosition:I

.field public mComment_num:Landroid/widget/TextView;

.field public mEditContent0:Landroid/widget/TextView;

.field public mEditContent1:Landroid/widget/EditText;

.field private n:Lcom/moji/forum/base/ForumPrefer;

.field private o:Ljava/lang/String;

.field private p:Landroid/widget/ListView;

.field public picNumLimit:I

.field private q:Lcom/moji/forum/ui/CommentAdapter;

.field private r:Lcom/moji/imageview/RoundCornerImageView;

.field public replyBarAfterClick:Landroid/widget/LinearLayout;

.field public replyBarBeforeClick:Landroid/widget/LinearLayout;

.field private s:Landroid/widget/TextView;

.field private t:Landroid/widget/TextView;

.field private u:Landroid/widget/TextView;

.field private v:Landroid/widget/TextView;

.field private w:Z

.field private x:Lcom/moji/pulltorefresh/PullToFreshContainer;

.field private y:Z

.field private z:Z


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>()V
    .locals 2

    .line 131
    invoke-direct {p0}, Lcom/moji/forum/ui/ForumShareBaseActivity;-><init>()V

    const-string v0, ""

    .line 136
    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    const/4 v0, 0x1

    .line 141
    iput-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->w:Z

    const/16 v1, 0x14

    .line 147
    iput v1, p0, Lcom/moji/forum/ui/TopicActivity;->C:I

    .line 149
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

    const/4 v1, 0x0

    .line 172
    iput-boolean v1, p0, Lcom/moji/forum/ui/TopicActivity;->S:Z

    .line 175
    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->T:I

    .line 181
    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    .line 182
    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    .line 184
    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->ad:I

    .line 196
    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->al:I

    const/4 v0, 0x2

    .line 201
    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->ao:I

    const/4 v0, -0x1

    .line 212
    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->mChildViewPosition:I

    .line 217
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    const/4 v0, 0x3

    .line 220
    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->picNumLimit:I

    const/4 v0, 0x0

    .line 237
    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aQ:Lcom/moji/forum/ui/TopicActivity$TopicHandler;

    .line 244
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    .line 1195
    iput v1, p0, Lcom/moji/forum/ui/TopicActivity;->bn:I

    return-void
.end method

.method static synthetic A(Lcom/moji/forum/ui/TopicActivity;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->bk:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    return-object p0
.end method

.method private A()V
    .locals 9

    .line 2489
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$layout;->dialog_jump_page:I

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 2490
    sget v1, Lcom/moji/forum/R$id;->et_input_number:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/EditText;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->ah:Landroid/widget/EditText;

    .line 2491
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->ah:Landroid/widget/EditText;

    new-instance v2, Lcom/moji/forum/ui/TopicActivity$28;

    invoke-direct {v2, p0}, Lcom/moji/forum/ui/TopicActivity$28;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v1, v2}, Landroid/widget/EditText;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 2501
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->ah:Landroid/widget/EditText;

    const/4 v2, 0x1

    new-array v3, v2, [Landroid/text/InputFilter;

    new-instance v4, Landroid/text/InputFilter$LengthFilter;

    const/16 v5, 0x9

    invoke-direct {v4, v5}, Landroid/text/InputFilter$LengthFilter;-><init>(I)V

    const/4 v5, 0x0

    aput-object v4, v3, v5

    invoke-virtual {v1, v3}, Landroid/widget/EditText;->setFilters([Landroid/text/InputFilter;)V

    .line 2502
    sget v1, Lcom/moji/forum/R$id;->tv_current_page:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 2503
    iget v3, p0, Lcom/moji/forum/ui/TopicActivity;->D:I

    iget v4, p0, Lcom/moji/forum/ui/TopicActivity;->C:I

    div-int/2addr v3, v4

    iget v4, p0, Lcom/moji/forum/ui/TopicActivity;->D:I

    iget v6, p0, Lcom/moji/forum/ui/TopicActivity;->C:I

    rem-int/2addr v4, v6

    if-nez v4, :cond_0

    const/4 v4, 0x0

    goto :goto_0

    :cond_0
    const/4 v4, 0x1

    :goto_0
    add-int/2addr v3, v4

    if-nez v3, :cond_1

    const/4 v3, 0x1

    :cond_1
    const-string v4, "lijf"

    .line 2505
    new-instance v6, Ljava/lang/StringBuilder;

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

    const-string v7, "(mCommentCount / mPageLength) = "

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v7, p0, Lcom/moji/forum/ui/TopicActivity;->D:I

    iget v8, p0, Lcom/moji/forum/ui/TopicActivity;->C:I

    div-int/2addr v7, v8

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v7, ", ((mCommentCount%mPageLength) == 0 ? 0:1) = "

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v7, p0, Lcom/moji/forum/ui/TopicActivity;->D:I

    iget v8, p0, Lcom/moji/forum/ui/TopicActivity;->C:I

    rem-int/2addr v7, v8

    if-nez v7, :cond_2

    goto :goto_1

    :cond_2
    const/4 v5, 0x1

    :goto_1
    invoke-virtual {v6, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    const-string v4, "lijf"

    .line 2507
    new-instance v5, Ljava/lang/StringBuilder;

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

    const-string v6, "mCommentCount = "

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v6, p0, Lcom/moji/forum/ui/TopicActivity;->D:I

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v6, ", num = "

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 2508
    new-instance v4, Ljava/lang/StringBuilder;

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

    sget v5, Lcom/moji/forum/R$string;->current:I

    invoke-static {v5}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v5, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    invoke-static {v5, v3}, Ljava/lang/Math;->min(II)I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v5, "/"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    sget v3, Lcom/moji/forum/R$string;->page:I

    invoke-static {v3}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 2509
    sget v1, Lcom/moji/forum/R$id;->btn_ok:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 2510
    sget v3, Lcom/moji/forum/R$id;->btn_cancel:I

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    .line 2511
    invoke-virtual {v1, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 2512
    invoke-virtual {v3, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 2513
    new-instance v1, Landroid/app/Dialog;

    sget v3, Lcom/moji/forum/R$style;->dialog:I

    invoke-direct {v1, p0, v3}, Landroid/app/Dialog;-><init>(Landroid/content/Context;I)V

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->ai:Landroid/app/Dialog;

    .line 2514
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->ai:Landroid/app/Dialog;

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v4, -0x1

    invoke-direct {v3, v4, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v0, v3}, Landroid/app/Dialog;->addContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 2515
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ai:Landroid/app/Dialog;

    invoke-virtual {v0, v2}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    .line 2516
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ai:Landroid/app/Dialog;

    invoke-virtual {v0}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v0

    const/high16 v1, 0x43810000    # 258.0f

    invoke-static {}, Lcom/moji/forum/common/ResUtil;->a()F

    move-result v2

    mul-float v2, v2, v1

    float-to-int v1, v2

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->width:I

    .line 2517
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ai:Landroid/app/Dialog;

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$29;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$29;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 2527
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ai:Landroid/app/Dialog;

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$30;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$30;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Landroid/app/Dialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V

    .line 2537
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ai:Landroid/app/Dialog;

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$31;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$31;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Landroid/app/Dialog;->setOnShowListener(Landroid/content/DialogInterface$OnShowListener;)V

    .line 2544
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ai:Landroid/app/Dialog;

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    return-void
.end method

.method static synthetic B(Lcom/moji/forum/ui/TopicActivity;)Landroid/widget/RelativeLayout;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->af:Landroid/widget/RelativeLayout;

    return-object p0
.end method

.method private B()V
    .locals 3

    .line 2825
    iget-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->aO:Z

    if-eqz v0, :cond_0

    .line 2826
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->C()V

    goto/16 :goto_1

    .line 2828
    :cond_0
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    const/4 v1, 0x1

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    .line 2829
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-gt v0, v1, :cond_2

    :cond_1
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    .line 2830
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_5

    .line 2831
    :cond_2
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bi:Lcom/moji/forum/controller/TopicDraftController;

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/moji/forum/controller/TopicDraftController;->a(Ljava/lang/String;)V

    .line 2832
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bi:Lcom/moji/forum/controller/TopicDraftController;

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/moji/forum/controller/TopicDraftController;->b(Ljava/lang/String;)V

    .line 2833
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bi:Lcom/moji/forum/controller/TopicDraftController;

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Lcom/moji/forum/controller/TopicDraftController;->a(Ljava/util/ArrayList;)V

    .line 2834
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    if-eqz v0, :cond_4

    const/4 v0, 0x0

    .line 2835
    :goto_0
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

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

    move-result v2

    if-ge v0, v2, :cond_4

    .line 2836
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/moji/http/ugc/bean/ImageInfo;

    .line 2837
    iget v2, v2, Lcom/moji/http/ugc/bean/ImageInfo;->type:I

    if-ne v2, v1, :cond_3

    .line 2838
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    add-int/lit8 v0, v0, -0x1

    :cond_3
    add-int/2addr v0, v1

    goto :goto_0

    .line 2843
    :cond_4
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bi:Lcom/moji/forum/controller/TopicDraftController;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/moji/forum/controller/TopicDraftController;->b(Ljava/util/ArrayList;)V

    .line 2846
    :cond_5
    new-instance v0, Landroid/content/Intent;

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

    const-string v1, "input_content"

    .line 2847
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

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

    const-string v1, "input_topic_id"

    .line 2848
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

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

    .line 2849
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    if-eqz v1, :cond_6

    const-string v1, "input_topic_ispraise"

    .line 2850
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-boolean v2, v2, Lcom/moji/http/mqn/entity/Topic;->is_praise:Z

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

    :cond_6
    const-string v1, "input_image_list"

    .line 2852
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 2853
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    invoke-static {v1}, Lcom/moji/forum/common/ForumUtil;->a(Ljava/util/List;)V

    const-string v1, "input_at_info_list"

    .line 2854
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/4 v1, -0x1

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

    .line 2856
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->finish()V

    :goto_1
    return-void
.end method

.method static synthetic C(Lcom/moji/forum/ui/TopicActivity;)Lcom/moji/http/mqn/entity/Topic;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->bb:Lcom/moji/http/mqn/entity/Topic;

    return-object p0
.end method

.method private C()V
    .locals 2

    .line 2861
    new-instance v0, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    invoke-direct {v0, p0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;-><init>(Landroid/content/Context;)V

    sget v1, Lcom/moji/forum/R$string;->point_info:I

    .line 2862
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->invite_to_play_forum:I

    .line 2863
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->goto_see:I

    .line 2864
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->refuse:I

    .line 2865
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->e(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const/4 v1, 0x0

    .line 2866
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(Z)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$44;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$44;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    .line 2867
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$43;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$43;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    .line 2874
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    .line 2880
    invoke-virtual {v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b()Lcom/moji/dialog/MJDialog;

    return-void
.end method

.method static synthetic D(Lcom/moji/forum/ui/TopicActivity;)Landroid/view/View;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->bc:Landroid/view/View;

    return-object p0
.end method

.method static synthetic E(Lcom/moji/forum/ui/TopicActivity;)Lcom/moji/forum/base/ForumPrefer;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->n:Lcom/moji/forum/base/ForumPrefer;

    return-object p0
.end method

.method static synthetic F(Lcom/moji/forum/ui/TopicActivity;)V
    .locals 0

    .line 131
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->z()V

    return-void
.end method

.method static synthetic G(Lcom/moji/forum/ui/TopicActivity;)Ljava/util/ArrayList;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    return-object p0
.end method

.method static synthetic H(Lcom/moji/forum/ui/TopicActivity;)Lcom/moji/forum/ui/ImageAdapter;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->ay:Lcom/moji/forum/ui/ImageAdapter;

    return-object p0
.end method

.method static synthetic I(Lcom/moji/forum/ui/TopicActivity;)I
    .locals 0

    .line 131
    iget p0, p0, Lcom/moji/forum/ui/TopicActivity;->be:I

    return p0
.end method

.method static synthetic J(Lcom/moji/forum/ui/TopicActivity;)Lcom/moji/forum/controller/TopicDraftController;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->bi:Lcom/moji/forum/controller/TopicDraftController;

    return-object p0
.end method

.method static synthetic K(Lcom/moji/forum/ui/TopicActivity;)Landroid/widget/TextView;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->aS:Landroid/widget/TextView;

    return-object p0
.end method

.method static synthetic L(Lcom/moji/forum/ui/TopicActivity;)Ljava/lang/String;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->aT:Ljava/lang/String;

    return-object p0
.end method

.method static synthetic M(Lcom/moji/forum/ui/TopicActivity;)Landroid/widget/EditText;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->ah:Landroid/widget/EditText;

    return-object p0
.end method

.method static synthetic N(Lcom/moji/forum/ui/TopicActivity;)Landroid/view/inputmethod/InputMethodManager;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->G:Landroid/view/inputmethod/InputMethodManager;

    return-object p0
.end method

.method static synthetic O(Lcom/moji/forum/ui/TopicActivity;)Lcom/moji/forum/ui/TopicActivity$TopicHandler;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->aQ:Lcom/moji/forum/ui/TopicActivity$TopicHandler;

    return-object p0
.end method

.method static synthetic P(Lcom/moji/forum/ui/TopicActivity;)Landroid/widget/ImageView;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->bl:Landroid/widget/ImageView;

    return-object p0
.end method

.method static synthetic Q(Lcom/moji/forum/ui/TopicActivity;)Landroid/widget/TextView;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->bm:Landroid/widget/TextView;

    return-object p0
.end method

.method static synthetic a(Lcom/moji/forum/ui/TopicActivity;I)I
    .locals 0

    .line 131
    iput p1, p0, Lcom/moji/forum/ui/TopicActivity;->bf:I

    return p1
.end method

.method static synthetic a(Lcom/moji/forum/ui/TopicActivity;)Lcom/moji/forum/view/AutoHeightLayout;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->K:Lcom/moji/forum/view/AutoHeightLayout;

    return-object p0
.end method

.method static synthetic a(Lcom/moji/forum/ui/TopicActivity;Lcom/moji/http/mqn/entity/Topic;)Lcom/moji/http/mqn/entity/Topic;
    .locals 0

    .line 131
    iput-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bb:Lcom/moji/http/mqn/entity/Topic;

    return-object p1
.end method

.method private a(JLjava/lang/String;)V
    .locals 7

    .line 1703
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->showLoadDialog()V

    .line 1704
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->v()I

    move-result v0

    if-eqz v0, :cond_0

    .line 1705
    new-instance v0, Lcom/moji/forum/ui/TopicActivity$22;

    sget-object v3, Lcom/moji/tool/thread/ThreadPriority;->NORMAL:Lcom/moji/tool/thread/ThreadPriority;

    move-object v1, v0

    move-object v2, p0

    move-wide v4, p1

    move-object v6, p3

    invoke-direct/range {v1 .. v6}, Lcom/moji/forum/ui/TopicActivity$22;-><init>(Lcom/moji/forum/ui/TopicActivity;Lcom/moji/tool/thread/ThreadPriority;JLjava/lang/String;)V

    sget-object p1, Lcom/moji/tool/thread/ThreadType;->NORMAL_THREAD:Lcom/moji/tool/thread/ThreadType;

    const/4 p2, 0x0

    new-array p2, p2, [Ljava/lang/Void;

    .line 1783
    invoke-virtual {v0, p1, p2}, Lcom/moji/forum/ui/TopicActivity$22;->a(Lcom/moji/tool/thread/ThreadType;[Ljava/lang/Object;)Lcom/moji/tool/thread/task/MJAsyncTask;

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 1785
    invoke-direct {p0, p1, p2, p3, v0}, Lcom/moji/forum/ui/TopicActivity;->a(JLjava/lang/String;Ljava/lang/String;)V

    :goto_0
    return-void
.end method

.method private a(JLjava/lang/String;Ljava/lang/String;)V
    .locals 4

    .line 1790
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    invoke-static {p3, v0}, Lcom/moji/forum/common/ForumUtil;->b(Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;

    move-result-object v0

    .line 1791
    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    const-string v2, "topic_id"

    .line 1792
    iget-object v3, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v2, "comment_id"

    .line 1793
    invoke-static {p1, p2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v1, v2, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string p1, "content"

    .line 1794
    invoke-virtual {v1, p1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string p1, "type"

    const-string p2, "1"

    .line 1795
    invoke-virtual {v1, p1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1796
    iget-boolean p1, p0, Lcom/moji/forum/ui/TopicActivity;->aU:Z

    if-eqz p1, :cond_0

    const-string p1, "source"

    const-string p2, "1"

    .line 1797
    invoke-virtual {v1, p1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1798
    :cond_0
    invoke-static {p4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_1

    const-string p1, "image_info"

    .line 1799
    invoke-virtual {v1, p1, p4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1803
    :cond_1
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    if-eqz p1, :cond_2

    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

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

    move-result p1

    if-lez p1, :cond_2

    const-string p1, "sids"

    .line 1804
    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    invoke-static {p3, p2}, Lcom/moji/forum/common/ForumUtil;->a(Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {v1, p1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1807
    :cond_2
    new-instance p1, Lcom/moji/http/mqn/NewCommentRequest;

    invoke-direct {p1, v1}, Lcom/moji/http/mqn/NewCommentRequest;-><init>(Ljava/util/HashMap;)V

    new-instance p2, Lcom/moji/forum/ui/TopicActivity$23;

    invoke-direct {p2, p0}, Lcom/moji/forum/ui/TopicActivity$23;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {p1, p2}, Lcom/moji/http/mqn/NewCommentRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private a(Landroid/widget/ImageView;II)V
    .locals 3

    .line 1163
    invoke-static {}, Lcom/moji/tool/DeviceTool;->b()I

    move-result v0

    int-to-float v0, v0

    invoke-static {}, Lcom/moji/forum/common/ResUtil;->a()F

    move-result v1

    const/high16 v2, 0x40000000    # 2.0f

    mul-float v1, v1, v2

    const/high16 v2, 0x41800000    # 16.0f

    mul-float v1, v1, v2

    sub-float/2addr v0, v1

    float-to-int v0, v0

    int-to-float v1, v0

    int-to-float p2, p2

    div-float/2addr v1, p2

    int-to-float p2, p3

    mul-float v1, v1, p2

    float-to-int p2, v1

    .line 1165
    invoke-virtual {p1}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p3

    if-nez p3, :cond_0

    .line 1166
    new-instance p3, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {p3, v0, p2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {p1, p3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0

    .line 1168
    :cond_0
    invoke-virtual {p1}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p3

    iput v0, p3, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 1169
    invoke-virtual {p1}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p3

    iput p2, p3, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 1171
    :goto_0
    invoke-virtual {p1}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p2

    check-cast p2, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 p3, 0x41200000    # 10.0f

    .line 1172
    invoke-static {}, Lcom/moji/forum/common/ResUtil;->a()F

    move-result v0

    mul-float v0, v0, p3

    float-to-int p3, v0

    const/4 v0, 0x0

    invoke-virtual {p2, v0, p3, v0, v0}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    .line 1173
    invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 1174
    invoke-virtual {p1}, Landroid/widget/ImageView;->requestLayout()V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/TopicActivity;J)V
    .locals 0

    .line 131
    invoke-direct {p0, p1, p2}, Lcom/moji/forum/ui/TopicActivity;->c(J)V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/TopicActivity;JLjava/lang/String;Ljava/lang/String;)V
    .locals 0

    .line 131
    invoke-direct {p0, p1, p2, p3, p4}, Lcom/moji/forum/ui/TopicActivity;->a(JLjava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/TopicActivity;Lcom/moji/http/mqn/entity/TopicComment;)V
    .locals 0

    .line 131
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/TopicActivity;->a(Lcom/moji/http/mqn/entity/TopicComment;)V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/TopicActivity;Lcom/moji/http/mqn/entity/TopicCommentList;ZZ)V
    .locals 0

    .line 131
    invoke-direct {p0, p1, p2, p3}, Lcom/moji/forum/ui/TopicActivity;->a(Lcom/moji/http/mqn/entity/TopicCommentList;ZZ)V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/TopicActivity;Ljava/lang/String;)V
    .locals 0

    .line 131
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/TopicActivity;->a(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/TopicActivity;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    .line 131
    invoke-direct {p0, p1, p2}, Lcom/moji/forum/ui/TopicActivity;->a(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/TopicActivity;Z)V
    .locals 0

    .line 131
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/TopicActivity;->a(Z)V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/TopicActivity;ZIZ)V
    .locals 0

    .line 131
    invoke-direct {p0, p1, p2, p3}, Lcom/moji/forum/ui/TopicActivity;->a(ZIZ)V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/TopicActivity;ZZ)V
    .locals 0

    .line 131
    invoke-direct {p0, p1, p2}, Lcom/moji/forum/ui/TopicActivity;->a(ZZ)V

    return-void
.end method

.method private a(Lcom/moji/http/mqn/entity/TopicComment;)V
    .locals 3

    .line 691
    new-instance v0, Lcom/moji/http/mqn/CommentPraiseRequest;

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

    invoke-direct {v0, v1, v2}, Lcom/moji/http/mqn/CommentPraiseRequest;-><init>(J)V

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$13;

    invoke-direct {v1, p0, p1}, Lcom/moji/forum/ui/TopicActivity$13;-><init>(Lcom/moji/forum/ui/TopicActivity;Lcom/moji/http/mqn/entity/TopicComment;)V

    invoke-virtual {v0, v1}, Lcom/moji/http/mqn/CommentPraiseRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private a(Lcom/moji/http/mqn/entity/TopicCommentList;)V
    .locals 5

    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 1450
    :goto_0
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

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

    move-result v2

    if-ge v1, v2, :cond_0

    .line 1451
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/moji/http/mqn/entity/TopicComment;

    iget v3, p0, Lcom/moji/forum/ui/TopicActivity;->ac:I

    add-int/lit8 v3, v3, -0x1

    iget v4, p0, Lcom/moji/forum/ui/TopicActivity;->C:I

    mul-int v3, v3, v4

    add-int/2addr v3, v1

    iput v3, v2, Lcom/moji/http/mqn/entity/TopicComment;->floor:I

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 1454
    :cond_0
    :goto_1
    iget-object v1, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

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

    move-result v1

    if-ge v0, v1, :cond_2

    .line 1455
    iget-object v1, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/http/mqn/entity/TopicComment;

    iget-boolean v1, v1, Lcom/moji/http/mqn/entity/TopicComment;->is_del:Z

    if-eqz v1, :cond_1

    .line 1456
    iget-object v1, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    add-int/lit8 v0, v0, -0x1

    :cond_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_2
    return-void
.end method

.method private a(Lcom/moji/http/mqn/entity/TopicCommentList;ZZ)V
    .locals 9

    .line 1311
    iget-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->S:Z

    if-eqz v0, :cond_0

    return-void

    :cond_0
    const/4 v0, 0x0

    .line 1313
    iput-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->y:Z

    const/4 v1, 0x0

    if-eqz p1, :cond_19

    .line 1314
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    if-eqz v2, :cond_19

    .line 1315
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_count:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    const/4 v3, 0x1

    if-nez v2, :cond_1

    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_count:Ljava/lang/String;

    const-string v4, "0"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_1

    .line 1316
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_count:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v2

    iput v2, p0, Lcom/moji/forum/ui/TopicActivity;->D:I

    .line 1317
    iget v2, p0, Lcom/moji/forum/ui/TopicActivity;->D:I

    iget v4, p0, Lcom/moji/forum/ui/TopicActivity;->C:I

    div-int/2addr v2, v4

    add-int/2addr v2, v3

    iput v2, p0, Lcom/moji/forum/ui/TopicActivity;->ad:I

    :cond_1
    if-eqz p3, :cond_2

    .line 1320
    iget-object p3, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

    invoke-virtual {p3}, Ljava/util/ArrayList;->clear()V

    :cond_2
    if-eqz p2, :cond_3

    .line 1321
    iget-boolean p3, p0, Lcom/moji/forum/ui/TopicActivity;->ag:Z

    if-eqz p3, :cond_3

    .line 1322
    iget-object p3, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

    invoke-virtual {p3}, Ljava/util/ArrayList;->clear()V

    .line 1323
    iput v3, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    .line 1324
    iget-boolean p3, p0, Lcom/moji/forum/ui/TopicActivity;->z:Z

    if-eqz p3, :cond_3

    .line 1325
    iput-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->z:Z

    .line 1326
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->m()V

    :cond_3
    if-eqz p2, :cond_e

    .line 1330
    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->x:Lcom/moji/pulltorefresh/PullToFreshContainer;

    invoke-virtual {p2}, Lcom/moji/pulltorefresh/PullToFreshContainer;->b()V

    .line 1331
    iget p2, p0, Lcom/moji/forum/ui/TopicActivity;->T:I

    if-ne p2, v3, :cond_9

    .line 1332
    iget p2, p0, Lcom/moji/forum/ui/TopicActivity;->ac:I

    iput p2, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    .line 1333
    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->q:Lcom/moji/forum/ui/CommentAdapter;

    iget p3, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    invoke-virtual {p2, p3}, Lcom/moji/forum/ui/CommentAdapter;->c(I)V

    .line 1334
    iget p2, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    if-ne p2, v3, :cond_4

    .line 1335
    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->x:Lcom/moji/pulltorefresh/PullToFreshContainer;

    invoke-virtual {p2, v1}, Lcom/moji/pulltorefresh/PullToFreshContainer;->setPullToRefreshText(Ljava/lang/String;)V

    goto :goto_0

    .line 1337
    :cond_4
    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->x:Lcom/moji/pulltorefresh/PullToFreshContainer;

    new-instance p3, Ljava/lang/StringBuilder;

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

    sget v2, Lcom/moji/forum/R$string;->pull_to_refresh_1:I

    invoke-static {v2}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v2, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    sub-int/2addr v2, v3

    invoke-static {v2, v3}, Ljava/lang/Math;->max(II)I

    move-result v2

    invoke-virtual {p3, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    sget v2, Lcom/moji/forum/R$string;->page:I

    .line 1338
    invoke-static {v2}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p3

    .line 1337
    invoke-virtual {p2, p3}, Lcom/moji/pulltorefresh/PullToFreshContainer;->setPullToRefreshText(Ljava/lang/String;)V

    .line 1339
    :goto_0
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    .line 1340
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/TopicActivity;->a(Lcom/moji/http/mqn/entity/TopicCommentList;)V

    const/4 p3, 0x0

    .line 1341
    :goto_1
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

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

    move-result v2

    if-ge p3, v2, :cond_8

    .line 1343
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_5
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_6

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/moji/http/mqn/entity/TopicComment;

    .line 1344
    iget-object v5, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v5, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/moji/http/mqn/entity/TopicComment;

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

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

    cmp-long v4, v5, v7

    if-nez v4, :cond_5

    const/4 v2, 0x1

    goto :goto_2

    :cond_6
    const/4 v2, 0x0

    :goto_2
    if-nez v2, :cond_7

    .line 1350
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v2, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {p2, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_7
    add-int/lit8 p3, p3, 0x1

    goto :goto_1

    .line 1353
    :cond_8
    iget-object p3, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

    invoke-virtual {p3, v0, p2}, Ljava/util/ArrayList;->addAll(ILjava/util/Collection;)Z

    goto/16 :goto_a

    .line 1355
    :cond_9
    iget p2, p0, Lcom/moji/forum/ui/TopicActivity;->ac:I

    iput p2, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    .line 1356
    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->q:Lcom/moji/forum/ui/CommentAdapter;

    iget p3, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    invoke-virtual {p2, p3}, Lcom/moji/forum/ui/CommentAdapter;->a(I)V

    .line 1357
    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->x:Lcom/moji/pulltorefresh/PullToFreshContainer;

    sget p3, Lcom/moji/forum/R$string;->load_more:I

    invoke-static {p3}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object p3

    invoke-virtual {p2, p3}, Lcom/moji/pulltorefresh/PullToFreshContainer;->setPullToRefreshText(Ljava/lang/String;)V

    .line 1358
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    .line 1359
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/TopicActivity;->a(Lcom/moji/http/mqn/entity/TopicCommentList;)V

    const/4 p3, 0x0

    .line 1360
    :goto_3
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

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

    move-result v2

    if-ge p3, v2, :cond_d

    .line 1362
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_a
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_b

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/moji/http/mqn/entity/TopicComment;

    .line 1363
    iget-object v5, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v5, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/moji/http/mqn/entity/TopicComment;

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

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

    cmp-long v4, v5, v7

    if-nez v4, :cond_a

    const/4 v2, 0x1

    goto :goto_4

    :cond_b
    const/4 v2, 0x0

    :goto_4
    if-nez v2, :cond_c

    .line 1369
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v2, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {p2, v0, v2}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    :cond_c
    add-int/lit8 p3, p3, 0x1

    goto :goto_3

    .line 1372
    :cond_d
    iget-object p3, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

    invoke-virtual {p3, v0, p2}, Ljava/util/ArrayList;->addAll(ILjava/util/Collection;)Z

    goto/16 :goto_a

    .line 1375
    :cond_e
    iget p2, p0, Lcom/moji/forum/ui/TopicActivity;->T:I

    if-ne p2, v3, :cond_13

    .line 1376
    iget p2, p0, Lcom/moji/forum/ui/TopicActivity;->ac:I

    iput p2, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    .line 1377
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    .line 1378
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/TopicActivity;->a(Lcom/moji/http/mqn/entity/TopicCommentList;)V

    const/4 p3, 0x0

    .line 1379
    :goto_5
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

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

    move-result v2

    if-ge p3, v2, :cond_12

    .line 1381
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_f
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_10

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/moji/http/mqn/entity/TopicComment;

    .line 1382
    iget-object v5, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v5, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/moji/http/mqn/entity/TopicComment;

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

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

    cmp-long v4, v5, v7

    if-nez v4, :cond_f

    const/4 v2, 0x1

    goto :goto_6

    :cond_10
    const/4 v2, 0x0

    :goto_6
    if-nez v2, :cond_11

    .line 1388
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v2, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {p2, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_11
    add-int/lit8 p3, p3, 0x1

    goto :goto_5

    .line 1391
    :cond_12
    iget-object p3, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

    invoke-virtual {p3, p2}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    goto :goto_a

    .line 1393
    :cond_13
    iget p2, p0, Lcom/moji/forum/ui/TopicActivity;->ac:I

    iput p2, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    .line 1394
    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->q:Lcom/moji/forum/ui/CommentAdapter;

    iget p3, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    invoke-virtual {p2, p3}, Lcom/moji/forum/ui/CommentAdapter;->a(I)V

    .line 1395
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    .line 1396
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/TopicActivity;->a(Lcom/moji/http/mqn/entity/TopicCommentList;)V

    const/4 p3, 0x0

    .line 1397
    :goto_7
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

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

    move-result v2

    if-ge p3, v2, :cond_16

    const/4 v2, 0x0

    .line 1398
    :goto_8
    iget-object v4, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

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

    move-result v4

    if-ge v2, v4, :cond_15

    .line 1399
    iget-object v4, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v4, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/moji/http/mqn/entity/TopicComment;

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

    iget-object v6, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

    invoke-virtual {v6, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lcom/moji/http/mqn/entity/TopicComment;

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

    cmp-long v8, v4, v6

    if-nez v8, :cond_14

    .line 1400
    iget-object v4, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    goto :goto_9

    :cond_14
    add-int/lit8 v2, v2, 0x1

    goto :goto_8

    .line 1404
    :cond_15
    :goto_9
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v2, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {p2, v0, v2}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    add-int/lit8 p3, p3, 0x1

    goto :goto_7

    .line 1406
    :cond_16
    iget-object p3, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

    invoke-virtual {p3, p2}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    .line 1409
    :goto_a
    iget p2, p0, Lcom/moji/forum/ui/TopicActivity;->T:I

    if-ne p2, v3, :cond_17

    .line 1410
    iget-boolean p2, p0, Lcom/moji/forum/ui/TopicActivity;->z:Z

    if-nez p2, :cond_18

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

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

    move-result p1

    iget p2, p0, Lcom/moji/forum/ui/TopicActivity;->C:I

    if-ge p1, p2, :cond_18

    const-string p1, "lijf"

    const-string p2, "isEnd = true"

    .line 1411
    invoke-static {p1, p2}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 1412
    iput-boolean v3, p0, Lcom/moji/forum/ui/TopicActivity;->z:Z

    .line 1413
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->l()V

    goto :goto_b

    .line 1416
    :cond_17
    iget-boolean p1, p0, Lcom/moji/forum/ui/TopicActivity;->z:Z

    if-nez p1, :cond_18

    iget p1, p0, Lcom/moji/forum/ui/TopicActivity;->ac:I

    if-ne p1, v3, :cond_18

    const-string p1, "lijf"

    const-string p2, "isEnd = true"

    .line 1417
    invoke-static {p1, p2}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 1418
    iput-boolean v3, p0, Lcom/moji/forum/ui/TopicActivity;->z:Z

    .line 1419
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->l()V

    .line 1422
    :cond_18
    :goto_b
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->q:Lcom/moji/forum/ui/CommentAdapter;

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

    .line 1424
    :cond_19
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

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

    move-result p1

    if-nez p1, :cond_1b

    .line 1425
    sget p1, Lcom/moji/forum/R$string;->no_comment:I

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

    .line 1426
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->as:Landroid/graphics/drawable/Drawable;

    if-nez p1, :cond_1a

    .line 1427
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    sget p2, Lcom/moji/forum/R$drawable;->no_comment_face:I

    invoke-virtual {p1, p2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    iput-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->as:Landroid/graphics/drawable/Drawable;

    .line 1428
    :cond_1a
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->as:Landroid/graphics/drawable/Drawable;

    if-eqz p1, :cond_1d

    .line 1429
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->as:Landroid/graphics/drawable/Drawable;

    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->as:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p2}, Landroid/graphics/drawable/Drawable;->getMinimumWidth()I

    move-result p2

    iget-object p3, p0, Lcom/moji/forum/ui/TopicActivity;->as:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p3}, Landroid/graphics/drawable/Drawable;->getMinimumHeight()I

    move-result p3

    invoke-virtual {p1, v0, v0, p2, p3}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 1430
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->j:Landroid/widget/TextView;

    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->as:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p1, v1, v1, p2, v1}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    goto :goto_c

    .line 1433
    :cond_1b
    sget p1, Lcom/moji/forum/R$string;->no_more_comment:I

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

    .line 1434
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->at:Landroid/graphics/drawable/Drawable;

    if-nez p1, :cond_1c

    .line 1435
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    sget p2, Lcom/moji/forum/R$drawable;->no_more_comment_face:I

    invoke-virtual {p1, p2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    iput-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->at:Landroid/graphics/drawable/Drawable;

    .line 1436
    :cond_1c
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->at:Landroid/graphics/drawable/Drawable;

    if-eqz p1, :cond_1d

    .line 1437
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->at:Landroid/graphics/drawable/Drawable;

    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->at:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p2}, Landroid/graphics/drawable/Drawable;->getMinimumWidth()I

    move-result p2

    iget-object p3, p0, Lcom/moji/forum/ui/TopicActivity;->at:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p3}, Landroid/graphics/drawable/Drawable;->getMinimumHeight()I

    move-result p3

    invoke-virtual {p1, v0, v0, p2, p3}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 1438
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->j:Landroid/widget/TextView;

    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->at:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p1, v1, v1, p2, v1}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 1441
    :cond_1d
    :goto_c
    iget-boolean p1, p0, Lcom/moji/forum/ui/TopicActivity;->aj:Z

    if-eqz p1, :cond_1e

    .line 1442
    iput-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->aj:Z

    .line 1443
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    iget p2, p0, Lcom/moji/forum/ui/TopicActivity;->ak:I

    invoke-virtual {p1, p2, v0}, Landroid/widget/ListView;->setSelectionFromTop(II)V

    :cond_1e
    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 3

    .line 2698
    new-instance v0, Lcom/moji/http/mqn/DeleteTopicRequest;

    const-string v1, ""

    const/4 v2, 0x3

    invoke-direct {v0, p1, v2, v1}, Lcom/moji/http/mqn/DeleteTopicRequest;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    new-instance p1, Lcom/moji/forum/ui/TopicActivity$38;

    invoke-direct {p1, p0}, Lcom/moji/forum/ui/TopicActivity$38;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, p1}, Lcom/moji/http/mqn/DeleteTopicRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 1

    .line 2771
    new-instance v0, Lcom/moji/http/mqn/CreamRequest;

    invoke-direct {v0, p1, p2}, Lcom/moji/http/mqn/CreamRequest;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    new-instance p1, Lcom/moji/forum/ui/TopicActivity$41;

    invoke-direct {p1, p0}, Lcom/moji/forum/ui/TopicActivity$41;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, p1}, Lcom/moji/http/mqn/CreamRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private a(Ljava/util/HashMap;ZZ)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;ZZ)V"
        }
    .end annotation

    const-string v0, "is_webp"

    .line 1251
    invoke-static {}, Lcom/moji/tool/DeviceTool;->M()Z

    move-result v1

    if-eqz v1, :cond_0

    const-string v1, "1"

    goto :goto_0

    :cond_0
    const-string v1, "0"

    :goto_0
    invoke-virtual {p1, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1252
    new-instance v0, Lcom/moji/http/mqn/CommentRequest;

    invoke-direct {v0, p1}, Lcom/moji/http/mqn/CommentRequest;-><init>(Ljava/util/HashMap;)V

    new-instance p1, Lcom/moji/forum/ui/TopicActivity$17;

    invoke-direct {p1, p0, p2, p3}, Lcom/moji/forum/ui/TopicActivity$17;-><init>(Lcom/moji/forum/ui/TopicActivity;ZZ)V

    invoke-virtual {v0, p1}, Lcom/moji/http/mqn/CommentRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private a(Z)V
    .locals 3

    const/16 v0, 0x8

    const/4 v1, 0x0

    if-eqz p1, :cond_0

    .line 755
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    const/4 v2, 0x1

    invoke-virtual {p1, v2}, Landroid/widget/EditText;->setFocusable(Z)V

    .line 756
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1, v2}, Landroid/widget/EditText;->setFocusableInTouchMode(Z)V

    .line 757
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->requestFocus()Z

    .line 758
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

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

    .line 759
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->I:Landroid/widget/ImageButton;

    sget v2, Lcom/moji/forum/R$drawable;->add_emotion_forum:I

    invoke-virtual {p1, v2}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    .line 760
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->K:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->c()V

    .line 761
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->replyBarBeforeClick:Landroid/widget/LinearLayout;

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

    .line 762
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->replyBarAfterClick:Landroid/widget/LinearLayout;

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

    .line 763
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->q()V

    goto :goto_0

    .line 765
    :cond_0
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1, v1}, Landroid/widget/EditText;->setFocusable(Z)V

    .line 766
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1, v1}, Landroid/widget/EditText;->setFocusableInTouchMode(Z)V

    .line 767
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->replyBarBeforeClick:Landroid/widget/LinearLayout;

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

    .line 768
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->replyBarAfterClick:Landroid/widget/LinearLayout;

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

    .line 769
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->I:Landroid/widget/ImageButton;

    sget v0, Lcom/moji/forum/R$drawable;->add_words_forum:I

    invoke-virtual {p1, v0}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    :goto_0
    return-void
.end method

.method private a(ZIZ)V
    .locals 2

    .line 734
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aK:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

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

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    sget p2, Lcom/moji/forum/R$string;->people_praise:I

    invoke-static {p2}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {v0, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    if-eqz p1, :cond_0

    .line 737
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->aI:Landroid/widget/LinearLayout;

    sget p2, Lcom/moji/forum/R$drawable;->topic_praise_background:I

    invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 738
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->aJ:Landroid/widget/ImageView;

    sget p2, Lcom/moji/forum/R$drawable;->topic_praise:I

    invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    .line 739
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->aK:Landroid/widget/TextView;

    const p2, -0xb2b7

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setTextColor(I)V

    .line 740
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->H:Landroid/widget/ImageButton;

    sget p2, Lcom/moji/forum/R$drawable;->praise_after:I

    invoke-virtual {p1, p2}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    goto :goto_0

    .line 742
    :cond_0
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->aI:Landroid/widget/LinearLayout;

    sget p2, Lcom/moji/forum/R$drawable;->topic_not_praise_background:I

    invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 743
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->aJ:Landroid/widget/ImageView;

    sget p2, Lcom/moji/forum/R$drawable;->topic_not_praise:I

    invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    .line 744
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->aK:Landroid/widget/TextView;

    const p2, -0x8f8f90

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setTextColor(I)V

    .line 745
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->H:Landroid/widget/ImageButton;

    sget p2, Lcom/moji/forum/R$drawable;->praise_before:I

    invoke-virtual {p1, p2}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    :goto_0
    if-eqz p3, :cond_1

    .line 748
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->aJ:Landroid/widget/ImageView;

    invoke-static {p1}, Lcom/moji/forum/common/UiUtil;->a(Landroid/view/View;)V

    .line 749
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->H:Landroid/widget/ImageButton;

    invoke-static {p1}, Lcom/moji/forum/common/UiUtil;->a(Landroid/view/View;)V

    :cond_1
    return-void
.end method

.method private a(ZZ)V
    .locals 6

    const/4 v0, 0x0

    .line 1198
    iput-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->ag:Z

    const/4 v1, 0x1

    .line 1199
    iput-boolean v1, p0, Lcom/moji/forum/ui/TopicActivity;->y:Z

    .line 1200
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->m()V

    .line 1202
    :try_start_0
    new-instance v2, Ljava/util/HashMap;

    invoke-direct {v2}, Ljava/util/HashMap;-><init>()V

    const-string v3, "topic_id"

    .line 1203
    iget-object v4, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    invoke-virtual {v2, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v3, "type"

    const-string v4, "1"

    .line 1204
    invoke-virtual {v2, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    if-eqz p1, :cond_1

    .line 1206
    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->ac:I

    .line 1207
    iget v0, p0, Lcom/moji/forum/ui/TopicActivity;->T:I

    if-ne v0, v1, :cond_0

    .line 1208
    iget v0, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    sub-int/2addr v0, v1

    invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I

    move-result v0

    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->ac:I

    .line 1209
    iget v0, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    if-ne v0, v1, :cond_3

    .line 1210
    iput-boolean v1, p0, Lcom/moji/forum/ui/TopicActivity;->ag:Z

    goto :goto_1

    .line 1212
    :cond_0
    iget v0, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    add-int/2addr v0, v1

    iget v1, p0, Lcom/moji/forum/ui/TopicActivity;->ad:I

    invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I

    move-result v0

    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->ac:I

    goto :goto_1

    .line 1215
    :cond_1
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v3, Lcom/moji/statistics/EVENT_TAG;->POST_UPDATE_SLIDE:Lcom/moji/statistics/EVENT_TAG;

    iget v4, p0, Lcom/moji/forum/ui/TopicActivity;->bn:I

    const/4 v5, 0x3

    invoke-static {v4, v5}, Ljava/lang/Math;->min(II)I

    move-result v4

    invoke-static {v4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v3, v4}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 1216
    iget v0, p0, Lcom/moji/forum/ui/TopicActivity;->bn:I

    add-int/2addr v0, v1

    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->bn:I

    .line 1217
    iget v0, p0, Lcom/moji/forum/ui/TopicActivity;->T:I

    if-ne v0, v1, :cond_2

    .line 1218
    iget v0, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    add-int/2addr v0, v1

    iget v3, p0, Lcom/moji/forum/ui/TopicActivity;->ad:I

    invoke-static {v0, v3}, Ljava/lang/Math;->min(II)I

    move-result v0

    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->ac:I

    goto :goto_0

    .line 1220
    :cond_2
    iget v0, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    sub-int/2addr v0, v1

    invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I

    move-result v0

    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->ac:I

    .line 1222
    :goto_0
    iget v0, p0, Lcom/moji/forum/ui/TopicActivity;->X:I

    add-int/2addr v0, v1

    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->X:I

    :cond_3
    :goto_1
    const-string v0, "page_no"

    .line 1224
    iget v1, p0, Lcom/moji/forum/ui/TopicActivity;->ac:I

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v0, "page_length"

    .line 1225
    iget v1, p0, Lcom/moji/forum/ui/TopicActivity;->C:I

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1226
    iget v0, p0, Lcom/moji/forum/ui/TopicActivity;->al:I

    packed-switch v0, :pswitch_data_0

    .line 1242
    invoke-direct {p0, v2, p1, p2}, Lcom/moji/forum/ui/TopicActivity;->a(Ljava/util/HashMap;ZZ)V

    goto :goto_2

    :pswitch_0
    const-string v0, "own_type"

    const-string v1, "1"

    .line 1238
    invoke-virtual {v2, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1239
    invoke-direct {p0, v2, p1, p2}, Lcom/moji/forum/ui/TopicActivity;->c(Ljava/util/HashMap;ZZ)V

    goto :goto_2

    :pswitch_1
    const-string v0, "own_type"

    const-string v1, "2"

    .line 1234
    invoke-virtual {v2, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1235
    invoke-direct {p0, v2, p1, p2}, Lcom/moji/forum/ui/TopicActivity;->c(Ljava/util/HashMap;ZZ)V

    goto :goto_2

    .line 1231
    :pswitch_2
    invoke-direct {p0, v2, p1, p2}, Lcom/moji/forum/ui/TopicActivity;->b(Ljava/util/HashMap;ZZ)V

    goto :goto_2

    .line 1228
    :pswitch_3
    invoke-direct {p0, v2, p1, p2}, Lcom/moji/forum/ui/TopicActivity;->a(Ljava/util/HashMap;ZZ)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :goto_2
    return-void

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method static synthetic b(Lcom/moji/forum/ui/TopicActivity;Lcom/moji/http/mqn/entity/Topic;)Lcom/moji/http/mqn/entity/Topic;
    .locals 0

    .line 131
    iput-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    return-object p1
.end method

.method private b(J)V
    .locals 3

    .line 1484
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-boolean v0, v0, Lcom/moji/http/mqn/entity/Topic;->is_moderator:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x3

    goto :goto_0

    :cond_0
    const/4 v0, 0x1

    .line 1488
    :goto_0
    new-instance v1, Lcom/moji/http/mqn/DeleteCommentRequest;

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    invoke-direct {v1, v2, p1, p2, v0}, Lcom/moji/http/mqn/DeleteCommentRequest;-><init>(Ljava/lang/String;JI)V

    new-instance v0, Lcom/moji/forum/ui/TopicActivity$21;

    invoke-direct {v0, p0, p1, p2}, Lcom/moji/forum/ui/TopicActivity$21;-><init>(Lcom/moji/forum/ui/TopicActivity;J)V

    invoke-virtual {v1, v0}, Lcom/moji/http/mqn/DeleteCommentRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private b(Landroid/widget/ImageView;II)V
    .locals 1

    .line 1187
    invoke-virtual {p1}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    if-nez v0, :cond_0

    .line 1189
    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v0, p2, p3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 1190
    :cond_0
    iput p2, v0, Landroid/widget/LinearLayout$LayoutParams;->width:I

    .line 1191
    iput p3, v0, Landroid/widget/LinearLayout$LayoutParams;->height:I

    .line 1192
    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method

.method static synthetic b(Lcom/moji/forum/ui/TopicActivity;I)V
    .locals 0

    .line 131
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/TopicActivity;->e(I)V

    return-void
.end method

.method static synthetic b(Lcom/moji/forum/ui/TopicActivity;J)V
    .locals 0

    .line 131
    invoke-direct {p0, p1, p2}, Lcom/moji/forum/ui/TopicActivity;->b(J)V

    return-void
.end method

.method static synthetic b(Lcom/moji/forum/ui/TopicActivity;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    .line 131
    invoke-direct {p0, p1, p2}, Lcom/moji/forum/ui/TopicActivity;->b(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method private b(Ljava/lang/String;)V
    .locals 1

    .line 2719
    new-instance v0, Lcom/moji/http/mqn/TopTopicRequest;

    invoke-direct {v0, p1}, Lcom/moji/http/mqn/TopTopicRequest;-><init>(Ljava/lang/String;)V

    new-instance p1, Lcom/moji/forum/ui/TopicActivity$39;

    invoke-direct {p1, p0}, Lcom/moji/forum/ui/TopicActivity$39;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, p1}, Lcom/moji/http/mqn/TopTopicRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private b(Ljava/lang/String;Ljava/lang/String;)V
    .locals 1

    .line 2793
    new-instance v0, Lcom/moji/http/mqn/UnCreamRequest;

    invoke-direct {v0, p1, p2}, Lcom/moji/http/mqn/UnCreamRequest;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    new-instance p1, Lcom/moji/forum/ui/TopicActivity$42;

    invoke-direct {p1, p0}, Lcom/moji/forum/ui/TopicActivity$42;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, p1}, Lcom/moji/http/mqn/UnCreamRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private b(Ljava/util/HashMap;ZZ)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;ZZ)V"
        }
    .end annotation

    const-string v0, "sns_id"

    .line 1271
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->sns_id:Ljava/lang/String;

    invoke-virtual {p1, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1272
    new-instance v0, Lcom/moji/http/mqn/GetHostCommentRequest;

    invoke-direct {v0, p1}, Lcom/moji/http/mqn/GetHostCommentRequest;-><init>(Ljava/util/HashMap;)V

    new-instance p1, Lcom/moji/forum/ui/TopicActivity$18;

    invoke-direct {p1, p0, p2, p3}, Lcom/moji/forum/ui/TopicActivity$18;-><init>(Lcom/moji/forum/ui/TopicActivity;ZZ)V

    invoke-virtual {v0, p1}, Lcom/moji/http/mqn/GetHostCommentRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method static synthetic b(Lcom/moji/forum/ui/TopicActivity;)Z
    .locals 0

    .line 131
    iget-boolean p0, p0, Lcom/moji/forum/ui/TopicActivity;->w:Z

    return p0
.end method

.method static synthetic b(Lcom/moji/forum/ui/TopicActivity;Z)Z
    .locals 0

    .line 131
    iput-boolean p1, p0, Lcom/moji/forum/ui/TopicActivity;->am:Z

    return p1
.end method

.method static synthetic c(Lcom/moji/forum/ui/TopicActivity;)Lcom/moji/statistics/EventManager;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    return-object p0
.end method

.method private c(J)V
    .locals 2

    .line 2357
    new-instance v0, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    invoke-direct {v0, p0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;-><init>(Landroid/content/Context;)V

    sget v1, Lcom/moji/forum/R$string;->point_info:I

    .line 2358
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->make_sure_delete_topic_comment:I

    .line 2359
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->ok:I

    .line 2360
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->cancel:I

    .line 2361
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->e(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$25;

    invoke-direct {v1, p0, p1, p2}, Lcom/moji/forum/ui/TopicActivity$25;-><init>(Lcom/moji/forum/ui/TopicActivity;J)V

    .line 2362
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    .line 2368
    invoke-virtual {p1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b()Lcom/moji/dialog/MJDialog;

    return-void
.end method

.method private c(Ljava/lang/String;)V
    .locals 1

    .line 2744
    new-instance v0, Lcom/moji/http/mqn/UnTopTopicRequest;

    invoke-direct {v0, p1}, Lcom/moji/http/mqn/UnTopTopicRequest;-><init>(Ljava/lang/String;)V

    new-instance p1, Lcom/moji/forum/ui/TopicActivity$40;

    invoke-direct {p1, p0}, Lcom/moji/forum/ui/TopicActivity$40;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, p1}, Lcom/moji/http/mqn/UnTopTopicRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private c(Ljava/util/HashMap;ZZ)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;ZZ)V"
        }
    .end annotation

    .line 1291
    new-instance v0, Lcom/moji/http/mqn/GetImageCommentRequest;

    invoke-direct {v0, p1}, Lcom/moji/http/mqn/GetImageCommentRequest;-><init>(Ljava/util/HashMap;)V

    new-instance p1, Lcom/moji/forum/ui/TopicActivity$19;

    invoke-direct {p1, p0, p2, p3}, Lcom/moji/forum/ui/TopicActivity$19;-><init>(Lcom/moji/forum/ui/TopicActivity;ZZ)V

    invoke-virtual {v0, p1}, Lcom/moji/http/mqn/GetImageCommentRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private d(I)Landroid/widget/ImageView;
    .locals 0

    packed-switch p1, :pswitch_data_0

    const/4 p1, 0x0

    return-object p1

    .line 1147
    :pswitch_0
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->W:Landroid/widget/ImageView;

    if-nez p1, :cond_0

    .line 1148
    new-instance p1, Landroid/widget/ImageView;

    invoke-direct {p1, p0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->W:Landroid/widget/ImageView;

    .line 1149
    :cond_0
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->W:Landroid/widget/ImageView;

    return-object p1

    .line 1143
    :pswitch_1
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->V:Landroid/widget/ImageView;

    if-nez p1, :cond_1

    .line 1144
    new-instance p1, Landroid/widget/ImageView;

    invoke-direct {p1, p0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->V:Landroid/widget/ImageView;

    .line 1145
    :cond_1
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->V:Landroid/widget/ImageView;

    return-object p1

    .line 1139
    :pswitch_2
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->U:Landroid/widget/ImageView;

    if-nez p1, :cond_2

    .line 1140
    new-instance p1, Landroid/widget/ImageView;

    invoke-direct {p1, p0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->U:Landroid/widget/ImageView;

    .line 1141
    :cond_2
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->U:Landroid/widget/ImageView;

    return-object p1

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method static synthetic d(Lcom/moji/forum/ui/TopicActivity;)V
    .locals 0

    .line 131
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->t()V

    return-void
.end method

.method private e(I)V
    .locals 1

    const/16 v0, 0x14

    if-eq v0, p1, :cond_0

    const/16 v0, 0x17

    if-ne p1, v0, :cond_1

    .line 1465
    :cond_0
    new-instance p1, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    invoke-direct {p1, p0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;-><init>(Landroid/content/Context;)V

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

    .line 1466
    invoke-virtual {p1, v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

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

    .line 1467
    invoke-virtual {p1, v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    const/4 v0, 0x0

    .line 1468
    invoke-virtual {p1, v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(Z)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    .line 1469
    invoke-virtual {p1, v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->c(Z)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

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

    .line 1470
    invoke-virtual {p1, v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

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

    .line 1471
    invoke-virtual {p1, v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->e(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    new-instance v0, Lcom/moji/forum/ui/TopicActivity$20;

    invoke-direct {v0, p0}, Lcom/moji/forum/ui/TopicActivity$20;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    .line 1472
    invoke-virtual {p1, v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    .line 1478
    invoke-virtual {p1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b()Lcom/moji/dialog/MJDialog;

    :cond_1
    return-void
.end method

.method static synthetic e(Lcom/moji/forum/ui/TopicActivity;)Z
    .locals 0

    .line 131
    iget-boolean p0, p0, Lcom/moji/forum/ui/TopicActivity;->am:Z

    return p0
.end method

.method static synthetic f(Lcom/moji/forum/ui/TopicActivity;)Landroid/widget/ImageButton;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->I:Landroid/widget/ImageButton;

    return-object p0
.end method

.method private f(I)V
    .locals 3

    const-string v0, ""

    packed-switch p1, :pswitch_data_0

    goto :goto_0

    .line 2323
    :pswitch_0
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->make_sure_delete_topic:I

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    .line 2320
    :pswitch_1
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->make_sure_unlighten_topic:I

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    .line 2317
    :pswitch_2
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->make_sure_enlighten_topic:I

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 2329
    :goto_0
    new-instance v1, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    invoke-direct {v1, p0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;-><init>(Landroid/content/Context;)V

    sget v2, Lcom/moji/forum/R$string;->point_info:I

    .line 2330
    invoke-virtual {v1, v2}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v1

    .line 2331
    invoke-virtual {v1, v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(Ljava/lang/CharSequence;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->ok:I

    .line 2332
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->cancel:I

    .line 2333
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->e(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$24;

    invoke-direct {v1, p0, p1}, Lcom/moji/forum/ui/TopicActivity$24;-><init>(Lcom/moji/forum/ui/TopicActivity;I)V

    .line 2334
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    .line 2352
    invoke-virtual {p1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b()Lcom/moji/dialog/MJDialog;

    return-void

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method static synthetic g(Lcom/moji/forum/ui/TopicActivity;)Z
    .locals 0

    .line 131
    iget-boolean p0, p0, Lcom/moji/forum/ui/TopicActivity;->y:Z

    return p0
.end method

.method static synthetic h(Lcom/moji/forum/ui/TopicActivity;)Landroid/widget/ListView;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    return-object p0
.end method

.method static synthetic i(Lcom/moji/forum/ui/TopicActivity;)I
    .locals 0

    .line 131
    iget p0, p0, Lcom/moji/forum/ui/TopicActivity;->bf:I

    return p0
.end method

.method static synthetic j(Lcom/moji/forum/ui/TopicActivity;)Ljava/util/ArrayList;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

    return-object p0
.end method

.method static synthetic k(Lcom/moji/forum/ui/TopicActivity;)Z
    .locals 0

    .line 131
    iget-boolean p0, p0, Lcom/moji/forum/ui/TopicActivity;->z:Z

    return p0
.end method

.method static synthetic l(Lcom/moji/forum/ui/TopicActivity;)Landroid/widget/ImageView;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->R:Landroid/widget/ImageView;

    return-object p0
.end method

.method static synthetic m(Lcom/moji/forum/ui/TopicActivity;)Landroid/widget/RelativeLayout;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->O:Landroid/widget/RelativeLayout;

    return-object p0
.end method

.method static synthetic n(Lcom/moji/forum/ui/TopicActivity;)Landroid/widget/TextView;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->P:Landroid/widget/TextView;

    return-object p0
.end method

.method static synthetic o(Lcom/moji/forum/ui/TopicActivity;)Ljava/lang/String;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    return-object p0
.end method

.method static synthetic p(Lcom/moji/forum/ui/TopicActivity;)Ljava/util/ArrayList;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    return-object p0
.end method

.method private p()V
    .locals 2

    .line 715
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aF:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    const/4 v1, 0x1

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aG:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x4

    .line 716
    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->al:I

    goto :goto_0

    .line 717
    :cond_0
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aF:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aG:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x3

    .line 718
    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->al:I

    goto :goto_0

    .line 719
    :cond_1
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aF:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aG:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    if-nez v0, :cond_2

    const/4 v0, 0x2

    .line 720
    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->al:I

    goto :goto_0

    .line 722
    :cond_2
    iput v1, p0, Lcom/moji/forum/ui/TopicActivity;->al:I

    .line 724
    :goto_0
    iput v1, p0, Lcom/moji/forum/ui/TopicActivity;->T:I

    .line 725
    iput v1, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    .line 726
    iput v1, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    .line 727
    iput-boolean v1, p0, Lcom/moji/forum/ui/TopicActivity;->am:Z

    .line 728
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->q:Lcom/moji/forum/ui/CommentAdapter;

    iget v1, p0, Lcom/moji/forum/ui/TopicActivity;->T:I

    invoke-virtual {v0, v1}, Lcom/moji/forum/ui/CommentAdapter;->b(I)V

    .line 729
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1, v1}, Landroid/widget/ListView;->setSelectionFromTop(II)V

    .line 730
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->x:Lcom/moji/pulltorefresh/PullToFreshContainer;

    invoke-virtual {v0}, Lcom/moji/pulltorefresh/PullToFreshContainer;->c()V

    return-void
.end method

.method static synthetic q(Lcom/moji/forum/ui/TopicActivity;)Landroid/widget/Button;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->L:Landroid/widget/Button;

    return-object p0
.end method

.method private q()V
    .locals 2

    .line 777
    iget-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->bj:Z

    if-nez v0, :cond_1

    .line 778
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bi:Lcom/moji/forum/controller/TopicDraftController;

    invoke-virtual {v0}, Lcom/moji/forum/controller/TopicDraftController;->b()Ljava/lang/String;

    move-result-object v0

    .line 779
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 780
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bi:Lcom/moji/forum/controller/TopicDraftController;

    invoke-virtual {v0}, Lcom/moji/forum/controller/TopicDraftController;->f()V

    :cond_0
    const/4 v0, 0x1

    .line 782
    iput-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->bj:Z

    :cond_1
    return-void
.end method

.method static synthetic r(Lcom/moji/forum/ui/TopicActivity;)Landroid/widget/Button;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->M:Landroid/widget/Button;

    return-object p0
.end method

.method private r()V
    .locals 5

    .line 878
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_6

    .line 879
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bi:Lcom/moji/forum/controller/TopicDraftController;

    invoke-virtual {v0}, Lcom/moji/forum/controller/TopicDraftController;->b()Ljava/lang/String;

    move-result-object v0

    .line 880
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    const/4 v1, 0x1

    if-eqz v0, :cond_5

    .line 881
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bi:Lcom/moji/forum/controller/TopicDraftController;

    invoke-virtual {v0}, Lcom/moji/forum/controller/TopicDraftController;->c()Ljava/lang/String;

    move-result-object v0

    .line 882
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->bi:Lcom/moji/forum/controller/TopicDraftController;

    invoke-virtual {v2}, Lcom/moji/forum/controller/TopicDraftController;->d()Ljava/util/ArrayList;

    move-result-object v2

    .line 883
    iget-object v3, p0, Lcom/moji/forum/ui/TopicActivity;->bi:Lcom/moji/forum/controller/TopicDraftController;

    invoke-virtual {v3}, Lcom/moji/forum/controller/TopicDraftController;->e()Ljava/util/ArrayList;

    move-result-object v3

    .line 884
    invoke-static {p0, v0, v2}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;Ljava/lang/String;Ljava/util/ArrayList;)Landroid/text/SpannableString;

    move-result-object v0

    .line 885
    invoke-virtual {v0}, Landroid/text/SpannableString;->length()I

    move-result v4

    if-lez v4, :cond_0

    .line 886
    iget-object v4, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent0:Landroid/widget/TextView;

    invoke-virtual {v4, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 887
    iget-object v4, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {v4, v0}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 888
    iget-object v4, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/text/SpannableString;->length()I

    move-result v0

    invoke-virtual {v4, v0}, Landroid/widget/EditText;->setSelection(I)V

    .line 890
    :cond_0
    iput-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    if-eqz v3, :cond_1

    .line 892
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 893
    iput-object v3, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    .line 894
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ay:Lcom/moji/forum/ui/ImageAdapter;

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Lcom/moji/forum/ui/ImageAdapter;->a(Ljava/util/ArrayList;)V

    :cond_1
    const/4 v0, 0x0

    .line 896
    :goto_0
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

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

    move-result v2

    if-ge v0, v2, :cond_3

    .line 897
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/moji/http/ugc/bean/ImageInfo;

    iget v2, v2, Lcom/moji/http/ugc/bean/ImageInfo;->type:I

    if-ne v2, v1, :cond_2

    .line 898
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    add-int/lit8 v0, v0, -0x1

    :cond_2
    add-int/2addr v0, v1

    goto :goto_0

    .line 902
    :cond_3
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

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

    move-result v0

    iget v2, p0, Lcom/moji/forum/ui/TopicActivity;->picNumLimit:I

    if-ge v0, v2, :cond_4

    .line 903
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    new-instance v2, Lcom/moji/http/ugc/bean/ImageInfo;

    invoke-direct {v2, v1}, Lcom/moji/http/ugc/bean/ImageInfo;-><init>(I)V

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 905
    :cond_4
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->w()V

    .line 906
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ay:Lcom/moji/forum/ui/ImageAdapter;

    invoke-virtual {v0}, Lcom/moji/forum/ui/ImageAdapter;->notifyDataSetChanged()V

    goto :goto_1

    .line 908
    :cond_5
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent0:Landroid/widget/TextView;

    sget v2, Lcom/moji/forum/R$string;->topic_thinking:I

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    .line 909
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    const-string v2, ""

    invoke-virtual {v0, v2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 910
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 911
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 912
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    new-instance v2, Lcom/moji/http/ugc/bean/ImageInfo;

    invoke-direct {v2, v1}, Lcom/moji/http/ugc/bean/ImageInfo;-><init>(I)V

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 913
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ay:Lcom/moji/forum/ui/ImageAdapter;

    invoke-virtual {v0}, Lcom/moji/forum/ui/ImageAdapter;->notifyDataSetChanged()V

    .line 914
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->w()V

    :cond_6
    :goto_1
    return-void
.end method

.method private s()V
    .locals 2

    .line 949
    new-instance v0, Lcom/moji/http/mqn/TopicPraiseRequest;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    invoke-direct {v0, v1}, Lcom/moji/http/mqn/TopicPraiseRequest;-><init>(Ljava/lang/String;)V

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$14;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$14;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/http/mqn/TopicPraiseRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method static synthetic s(Lcom/moji/forum/ui/TopicActivity;)V
    .locals 0

    .line 131
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->p()V

    return-void
.end method

.method public static startMe(Landroid/content/Context;Lcom/moji/http/mqn/entity/TopicList$Topic;Z)V
    .locals 3

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

    const-class v1, Lcom/moji/forum/ui/TopicActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "topic_id"

    .line 289
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicList$Topic;->id:Ljava/lang/String;

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

    const-string v1, "from_root"

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

    const-string p2, "input_content"

    .line 291
    iget-object v1, p1, Lcom/moji/http/mqn/entity/TopicList$Topic;->mInput:Ljava/lang/String;

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

    const-string p2, "input_at_info_list"

    .line 292
    iget-object v1, p1, Lcom/moji/http/mqn/entity/TopicList$Topic;->mAtInfoList:Ljava/util/ArrayList;

    invoke-virtual {v0, p2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string p2, "input_image_list"

    .line 293
    iget-object p1, p1, Lcom/moji/http/mqn/entity/TopicList$Topic;->mImageList:Ljava/util/ArrayList;

    invoke-virtual {v0, p2, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 294
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method private t()V
    .locals 3

    .line 973
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string v1, "topic_id"

    .line 974
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v1, "type"

    .line 975
    iget v2, p0, Lcom/moji/forum/ui/TopicActivity;->ao:I

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v1, "tag_type"

    const-string v2, "1"

    .line 976
    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v1, "is_webp"

    .line 977
    invoke-static {}, Lcom/moji/tool/DeviceTool;->M()Z

    move-result v2

    if-eqz v2, :cond_0

    const-string v2, "1"

    goto :goto_0

    :cond_0
    const-string v2, "0"

    :goto_0
    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 978
    iget-boolean v1, p0, Lcom/moji/forum/ui/TopicActivity;->aU:Z

    if-eqz v1, :cond_1

    const-string v1, "expand_id"

    .line 979
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aT:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 982
    :cond_1
    new-instance v1, Lcom/moji/http/mqn/TopicRequest;

    invoke-direct {v1, v0}, Lcom/moji/http/mqn/TopicRequest;-><init>(Ljava/util/HashMap;)V

    new-instance v0, Lcom/moji/forum/ui/TopicActivity$15;

    invoke-direct {v0, p0}, Lcom/moji/forum/ui/TopicActivity$15;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v1, v0}, Lcom/moji/http/mqn/TopicRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method static synthetic t(Lcom/moji/forum/ui/TopicActivity;)V
    .locals 0

    .line 131
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->u()V

    return-void
.end method

.method private u()V
    .locals 3

    .line 1514
    new-instance v0, Lcom/moji/camera/model/GalleryOptions$Builder;

    invoke-direct {v0}, Lcom/moji/camera/model/GalleryOptions$Builder;-><init>()V

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/moji/camera/model/GalleryOptions$Builder;->a(Z)Lcom/moji/camera/model/GalleryOptions$Builder;

    move-result-object v0

    iget v2, p0, Lcom/moji/forum/ui/TopicActivity;->picNumLimit:I

    invoke-virtual {v0, v2}, Lcom/moji/camera/model/GalleryOptions$Builder;->a(I)Lcom/moji/camera/model/GalleryOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/moji/camera/model/GalleryOptions$Builder;->b(Z)Lcom/moji/camera/model/GalleryOptions$Builder;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/camera/model/GalleryOptions$Builder;->a()Lcom/moji/camera/model/GalleryOptions;

    move-result-object v0

    .line 1515
    new-instance v2, Lcom/moji/camera/model/CropOptions$Builder;

    invoke-direct {v2}, Lcom/moji/camera/model/CropOptions$Builder;-><init>()V

    invoke-virtual {v2, v1}, Lcom/moji/camera/model/CropOptions$Builder;->a(I)Lcom/moji/camera/model/CropOptions$Builder;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/moji/camera/model/CropOptions$Builder;->b(I)Lcom/moji/camera/model/CropOptions$Builder;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/moji/camera/model/CropOptions$Builder;->c(I)Lcom/moji/camera/model/CropOptions$Builder;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/moji/camera/model/CropOptions$Builder;->d(I)Lcom/moji/camera/model/CropOptions$Builder;

    move-result-object v1

    invoke-virtual {v1}, Lcom/moji/camera/model/CropOptions$Builder;->a()Lcom/moji/camera/model/CropOptions;

    move-result-object v1

    .line 1516
    sget v2, Lcom/moji/forum/R$string;->select_photo:I

    invoke-static {v2}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {p0, v2, v0, v1}, Lcom/moji/camera/PhotoActivity;->takePhoto(Landroid/app/Activity;Ljava/lang/String;Lcom/moji/camera/model/GalleryOptions;Lcom/moji/camera/model/CropOptions;)V

    return-void
.end method

.method static synthetic u(Lcom/moji/forum/ui/TopicActivity;)V
    .locals 0

    .line 131
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->w()V

    return-void
.end method

.method private v()I
    .locals 3

    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 1600
    :goto_0
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

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

    move-result v2

    if-ge v0, v2, :cond_1

    .line 1601
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/moji/http/ugc/bean/ImageInfo;

    iget v2, v2, Lcom/moji/http/ugc/bean/ImageInfo;->type:I

    if-nez v2, :cond_0

    add-int/lit8 v1, v1, 0x1

    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    return v1
.end method

.method static synthetic v(Lcom/moji/forum/ui/TopicActivity;)Lcom/moji/pulltorefresh/PullToFreshContainer;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->x:Lcom/moji/pulltorefresh/PullToFreshContainer;

    return-object p0
.end method

.method private w()V
    .locals 5

    .line 1608
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->v()I

    move-result v0

    const-string v1, "lijf"

    .line 1609
    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, "num = "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 1610
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aD:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

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

    sget v3, Lcom/moji/forum/R$string;->topic_comment_image_select:I

    invoke-static {v3}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    sget v3, Lcom/moji/forum/R$string;->topic_comment_image_pager:I

    invoke-static {v3}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/4 v1, 0x1

    const/4 v2, 0x0

    const/16 v3, 0x8

    if-nez v0, :cond_0

    .line 1612
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->az:Lcom/moji/badge/BadgeView;

    invoke-virtual {v0, v1}, Lcom/moji/badge/BadgeView;->b(Z)V

    .line 1613
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aE:Landroid/widget/LinearLayout;

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

    .line 1614
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ax:Landroid/widget/GridView;

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

    .line 1615
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aD:Landroid/widget/TextView;

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

    .line 1616
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aA:Landroid/widget/LinearLayout;

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

    goto :goto_0

    .line 1618
    :cond_0
    iget-object v4, p0, Lcom/moji/forum/ui/TopicActivity;->aE:Landroid/widget/LinearLayout;

    invoke-virtual {v4, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 1619
    iget-object v4, p0, Lcom/moji/forum/ui/TopicActivity;->ax:Landroid/widget/GridView;

    invoke-virtual {v4, v2}, Landroid/widget/GridView;->setVisibility(I)V

    .line 1620
    iget-object v4, p0, Lcom/moji/forum/ui/TopicActivity;->aD:Landroid/widget/TextView;

    invoke-virtual {v4, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1621
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aA:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 1622
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->az:Lcom/moji/badge/BadgeView;

    new-instance v3, Ljava/lang/StringBuilder;

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

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v0, ""

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sget-object v3, Landroid/widget/TextView$BufferType;->NORMAL:Landroid/widget/TextView$BufferType;

    invoke-virtual {v2, v0, v3}, Lcom/moji/badge/BadgeView;->setText(Ljava/lang/CharSequence;Landroid/widget/TextView$BufferType;)V

    .line 1623
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->az:Lcom/moji/badge/BadgeView;

    invoke-virtual {v0, v1}, Lcom/moji/badge/BadgeView;->a(Z)V

    :goto_0
    return-void
.end method

.method static synthetic w(Lcom/moji/forum/ui/TopicActivity;)Z
    .locals 0

    .line 131
    iget-boolean p0, p0, Lcom/moji/forum/ui/TopicActivity;->S:Z

    return p0
.end method

.method static synthetic x(Lcom/moji/forum/ui/TopicActivity;)Lcom/moji/forum/ui/CommentAdapter;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->q:Lcom/moji/forum/ui/CommentAdapter;

    return-object p0
.end method

.method private x()V
    .locals 2

    .line 2373
    new-instance v0, Lcom/moji/http/mqn/CollectRequest;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    invoke-direct {v0, v1}, Lcom/moji/http/mqn/CollectRequest;-><init>(Ljava/lang/String;)V

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$26;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$26;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/http/mqn/CollectRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method static synthetic y(Lcom/moji/forum/ui/TopicActivity;)Lcom/moji/http/mqn/entity/Topic;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    return-object p0
.end method

.method private y()V
    .locals 2

    .line 2388
    new-instance v0, Lcom/moji/http/mqn/UnCollectRequest;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    invoke-direct {v0, v1}, Lcom/moji/http/mqn/UnCollectRequest;-><init>(Ljava/lang/String;)V

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$27;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$27;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/http/mqn/UnCollectRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method static synthetic z(Lcom/moji/forum/ui/TopicActivity;)Landroid/widget/ImageView;
    .locals 0

    .line 131
    iget-object p0, p0, Lcom/moji/forum/ui/TopicActivity;->aJ:Landroid/widget/ImageView;

    return-object p0
.end method

.method private z()V
    .locals 19

    move-object/from16 v0, p0

    .line 2405
    iget-object v1, v0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    if-nez v1, :cond_0

    return-void

    .line 2407
    :cond_0
    invoke-static/range {p0 .. p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    sget v2, Lcom/moji/forum/R$layout;->menu_topic_more:I

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    .line 2408
    sget v2, Lcom/moji/forum/R$id;->tv_collect:I

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 2409
    sget v3, Lcom/moji/forum/R$id;->iv_collect:I

    invoke-virtual {v1, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/ImageView;

    .line 2410
    sget v4, Lcom/moji/forum/R$id;->iv_jump_page:I

    invoke-virtual {v1, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/ImageView;

    .line 2411
    sget v5, Lcom/moji/forum/R$id;->iv_change_order:I

    invoke-virtual {v1, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/ImageView;

    .line 2412
    sget v6, Lcom/moji/forum/R$id;->iv_share:I

    invoke-virtual {v1, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/ImageView;

    .line 2413
    sget v7, Lcom/moji/forum/R$id;->iv_enlighten:I

    invoke-virtual {v1, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/ImageView;

    .line 2414
    sget v8, Lcom/moji/forum/R$id;->tv_enlighten:I

    invoke-virtual {v1, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/TextView;

    .line 2415
    sget v9, Lcom/moji/forum/R$id;->ll_enlighten:I

    invoke-virtual {v1, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/LinearLayout;

    .line 2416
    sget v10, Lcom/moji/forum/R$id;->iv_silenced:I

    invoke-virtual {v1, v10}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v10

    check-cast v10, Landroid/widget/ImageView;

    .line 2417
    sget v11, Lcom/moji/forum/R$id;->ll_silenced:I

    invoke-virtual {v1, v11}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v11

    check-cast v11, Landroid/widget/LinearLayout;

    .line 2418
    sget v12, Lcom/moji/forum/R$id;->iv_delete:I

    invoke-virtual {v1, v12}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v12

    check-cast v12, Landroid/widget/ImageView;

    .line 2419
    sget v13, Lcom/moji/forum/R$id;->ll_delete:I

    invoke-virtual {v1, v13}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v13

    check-cast v13, Landroid/widget/LinearLayout;

    .line 2420
    sget v14, Lcom/moji/forum/R$id;->ll_top:I

    invoke-virtual {v1, v14}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v14

    check-cast v14, Landroid/widget/LinearLayout;

    .line 2421
    sget v15, Lcom/moji/forum/R$id;->iv_top:I

    invoke-virtual {v1, v15}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v15

    check-cast v15, Landroid/widget/ImageView;

    move-object/from16 v16, v12

    .line 2422
    sget v12, Lcom/moji/forum/R$id;->tv_top:I

    invoke-virtual {v1, v12}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v12

    check-cast v12, Landroid/widget/TextView;

    .line 2423
    iput-object v15, v0, Lcom/moji/forum/ui/TopicActivity;->bl:Landroid/widget/ImageView;

    .line 2424
    iput-object v12, v0, Lcom/moji/forum/ui/TopicActivity;->bm:Landroid/widget/TextView;

    move-object/from16 v17, v1

    .line 2426
    iget-object v1, v0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-boolean v1, v1, Lcom/moji/http/mqn/entity/Topic;->is_moderator:Z

    move-object/from16 v18, v10

    if-eqz v1, :cond_4

    .line 2427
    iget-boolean v1, v0, Lcom/moji/forum/ui/TopicActivity;->aU:Z

    const/4 v10, 0x0

    if-eqz v1, :cond_1

    iget-boolean v1, v0, Lcom/moji/forum/ui/TopicActivity;->aV:Z

    if-nez v1, :cond_1

    const/16 v1, 0x8

    .line 2428
    invoke-virtual {v9, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0

    :cond_1
    const/16 v1, 0x8

    .line 2430
    invoke-virtual {v9, v10}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 2431
    :goto_0
    invoke-virtual {v11, v10}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 2432
    iget-boolean v9, v0, Lcom/moji/forum/ui/TopicActivity;->aX:Z

    if-nez v9, :cond_2

    .line 2433
    invoke-virtual {v13, v10}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_1

    .line 2435
    :cond_2
    invoke-virtual {v13, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 2437
    :goto_1
    iget-object v1, v0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-boolean v1, v1, Lcom/moji/http/mqn/entity/Topic;->is_top:Z

    if-eqz v1, :cond_3

    .line 2438
    sget v1, Lcom/moji/forum/R$drawable;->topic_top_success_selector:I

    invoke-virtual {v15, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 2439
    sget v1, Lcom/moji/forum/R$string;->untop:I

    invoke-virtual {v12, v1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_2

    .line 2441
    :cond_3
    sget v1, Lcom/moji/forum/R$drawable;->topic_top_selector:I

    invoke-virtual {v15, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 2442
    sget v1, Lcom/moji/forum/R$string;->top:I

    invoke-virtual {v12, v1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_2

    :cond_4
    const/16 v1, 0x8

    .line 2446
    invoke-virtual {v9, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 2447
    invoke-virtual {v11, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 2448
    invoke-virtual {v13, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 2449
    invoke-virtual {v14, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 2452
    :goto_2
    iget-object v1, v0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-boolean v1, v1, Lcom/moji/http/mqn/entity/Topic;->is_collect:Z

    if-eqz v1, :cond_5

    .line 2453
    sget v1, Lcom/moji/forum/R$string;->un_collect:I

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(I)V

    .line 2454
    sget v1, Lcom/moji/forum/R$drawable;->uncollect_selector:I

    invoke-virtual {v3, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_3

    .line 2456
    :cond_5
    sget v1, Lcom/moji/forum/R$string;->collect:I

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(I)V

    .line 2457
    sget v1, Lcom/moji/forum/R$drawable;->collect_selector:I

    invoke-virtual {v3, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 2459
    :goto_3
    iget-object v1, v0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-boolean v1, v1, Lcom/moji/http/mqn/entity/Topic;->is_cream:Z

    if-eqz v1, :cond_6

    .line 2460
    sget v1, Lcom/moji/forum/R$string;->un_cream:I

    invoke-virtual {v8, v1}, Landroid/widget/TextView;->setText(I)V

    .line 2461
    sget v1, Lcom/moji/forum/R$drawable;->citycoterie_unlighten_topic_selector:I

    invoke-virtual {v7, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_4

    .line 2463
    :cond_6
    sget v1, Lcom/moji/forum/R$string;->en_cream:I

    invoke-virtual {v8, v1}, Landroid/widget/TextView;->setText(I)V

    .line 2464
    sget v1, Lcom/moji/forum/R$drawable;->citycoterie_enlighten_topic_selector:I

    invoke-virtual {v7, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 2466
    :goto_4
    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 2467
    invoke-virtual {v4, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 2468
    invoke-virtual {v5, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 2469
    invoke-virtual {v6, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 2470
    invoke-virtual {v7, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object/from16 v10, v18

    .line 2471
    invoke-virtual {v10, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object/from16 v12, v16

    .line 2472
    invoke-virtual {v12, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 2473
    invoke-virtual {v14, v0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 2475
    new-instance v1, Landroid/app/Dialog;

    sget v2, Lcom/moji/forum/R$style;->dialog_top:I

    invoke-direct {v1, v0, v2}, Landroid/app/Dialog;-><init>(Landroid/content/Context;I)V

    iput-object v1, v0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    .line 2476
    iget-object v1, v0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    move-object/from16 v2, v17

    invoke-virtual {v1, v2}, Landroid/app/Dialog;->setContentView(Landroid/view/View;)V

    .line 2477
    iget-object v1, v0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    invoke-virtual {v1}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v1

    .line 2478
    invoke-static {}, Lcom/moji/tool/DeviceTool;->b()I

    move-result v2

    iput v2, v1, Landroid/view/WindowManager$LayoutParams;->width:I

    const/4 v2, -0x2

    .line 2479
    iput v2, v1, Landroid/view/WindowManager$LayoutParams;->height:I

    const/16 v2, 0x30

    .line 2480
    iput v2, v1, Landroid/view/WindowManager$LayoutParams;->gravity:I

    .line 2481
    sget v2, Lcom/moji/forum/R$dimen;->forum_title_height:I

    invoke-static {v2}, Lcom/moji/forum/common/ResUtil;->d(I)F

    move-result v2

    float-to-int v2, v2

    iput v2, v1, Landroid/view/WindowManager$LayoutParams;->y:I

    .line 2482
    iget-object v1, v0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    .line 2483
    iget-object v1, v0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    invoke-virtual {v1}, Landroid/app/Dialog;->show()V

    return-void
.end method


# virtual methods
.method protected a()V
    .locals 2

    const-string v0, "lijf"

    const-string v1, "initEvent:"

    .line 435
    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 436
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aI:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 437
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aB:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 438
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    invoke-virtual {v0, p0}, Landroid/widget/ListView;->setOnItemLongClickListener(Landroid/widget/AdapterView$OnItemLongClickListener;)V

    .line 439
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->I:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 440
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->J:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 441
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->L:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 442
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->M:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 443
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->N:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 444
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->Q:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 445
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->R:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 446
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ae:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 447
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent0:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 448
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->mComment_num:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 449
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->H:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 450
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->r:Lcom/moji/imageview/RoundCornerImageView;

    invoke-virtual {v0, p0}, Lcom/moji/imageview/RoundCornerImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 451
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bc:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 452
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bg:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 453
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent0:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v0

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$3;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$3;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/ViewTreeObserver;->addOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V

    .line 462
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->x:Lcom/moji/pulltorefresh/PullToFreshContainer;

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$4;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$4;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/pulltorefresh/PullToFreshContainer;->setOnRefreshListener(Lcom/moji/pulltorefresh/PullRefresher$OnContainerRefreshListener;)V

    .line 489
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$5;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$5;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    .line 542
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->q:Lcom/moji/forum/ui/CommentAdapter;

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$6;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$6;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/forum/ui/CommentAdapter;->a(Lcom/moji/forum/ui/CommentAdapter$CommentAdapterListener;)V

    .line 598
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$7;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$7;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 622
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->K:Lcom/moji/forum/view/AutoHeightLayout;

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$8;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$8;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/forum/view/AutoHeightLayout;->setOnAutoResizeListener(Lcom/moji/forum/view/AutoHeightLayout$OnAutoResizeListener;)V

    .line 649
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aF:Landroid/widget/CheckBox;

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$9;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$9;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    .line 660
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aG:Landroid/widget/CheckBox;

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$10;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$10;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    .line 669
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ay:Lcom/moji/forum/ui/ImageAdapter;

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$11;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$11;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/forum/ui/ImageAdapter;->a(Lcom/moji/forum/ui/ImageAdapter$ImageAdapterListener;)V

    .line 682
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bk:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$12;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$12;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->setOnRetryClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method protected a(J)V
    .locals 3

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

    const-class v1, Lcom/moji/forum/ui/ReportOrGagActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "report_or_gag_type"

    const/4 v2, 0x1

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

    const-string v1, "comment_id"

    .line 2693
    new-instance v2, Ljava/lang/StringBuilder;

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

    invoke-virtual {v2, p1, p2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string p1, ""

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

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

    .line 2694
    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method protected b()V
    .locals 6

    .line 804
    :try_start_0
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v0

    const/4 v1, 0x1

    if-eqz v0, :cond_0

    .line 806
    iput-boolean v1, p0, Lcom/moji/forum/ui/TopicActivity;->aO:Z

    const-string v2, "topic_id"

    .line 807
    invoke-virtual {v0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    .line 809
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    new-instance v2, Lcom/moji/http/ugc/bean/ImageInfo;

    invoke-direct {v2, v1}, Lcom/moji/http/ugc/bean/ImageInfo;-><init>(I)V

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 810
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->w()V

    .line 811
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ay:Lcom/moji/forum/ui/ImageAdapter;

    invoke-virtual {v0}, Lcom/moji/forum/ui/ImageAdapter;->notifyDataSetChanged()V

    .line 815
    :cond_0
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    if-eqz v0, :cond_9

    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "topic_id"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_9

    .line 816
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "from_root"

    const/4 v3, 0x0

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->ba:Z

    .line 817
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "can_not_delete"

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->aX:Z

    .line 818
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "topic_id"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    .line 819
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "input_content"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->au:Ljava/lang/String;

    .line 820
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "input_at_info_list"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 821
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "input_at_info_list"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    .line 823
    :cond_1
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "from"

    const/4 v4, -0x1

    invoke-virtual {v0, v2, v4}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->be:I

    .line 824
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "input_image_list"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    if-eqz v0, :cond_3

    .line 825
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "input_image_list"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    .line 826
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

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

    move-result v0

    if-nez v0, :cond_2

    .line 827
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    new-instance v2, Lcom/moji/http/ugc/bean/ImageInfo;

    invoke-direct {v2, v1}, Lcom/moji/http/ugc/bean/ImageInfo;-><init>(I)V

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 828
    :cond_2
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->w()V

    .line 829
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ay:Lcom/moji/forum/ui/ImageAdapter;

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Lcom/moji/forum/ui/ImageAdapter;->a(Ljava/util/ArrayList;)V

    .line 830
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ay:Lcom/moji/forum/ui/ImageAdapter;

    invoke-virtual {v0}, Lcom/moji/forum/ui/ImageAdapter;->notifyDataSetChanged()V

    goto :goto_0

    .line 832
    :cond_3
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    .line 833
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    new-instance v2, Lcom/moji/http/ugc/bean/ImageInfo;

    invoke-direct {v2, v1}, Lcom/moji/http/ugc/bean/ImageInfo;-><init>(I)V

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 834
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->w()V

    .line 835
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ay:Lcom/moji/forum/ui/ImageAdapter;

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Lcom/moji/forum/ui/ImageAdapter;->a(Ljava/util/ArrayList;)V

    .line 836
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ay:Lcom/moji/forum/ui/ImageAdapter;

    invoke-virtual {v0}, Lcom/moji/forum/ui/ImageAdapter;->notifyDataSetChanged()V

    .line 838
    :goto_0
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "page_no"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_4

    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "page_seat"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_4

    .line 839
    iput-boolean v1, p0, Lcom/moji/forum/ui/TopicActivity;->aj:Z

    .line 840
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "page_no"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    add-int/2addr v0, v1

    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    .line 841
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->q:Lcom/moji/forum/ui/CommentAdapter;

    iget v2, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    invoke-virtual {v0, v2}, Lcom/moji/forum/ui/CommentAdapter;->c(I)V

    .line 842
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "page_no"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    .line 843
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "page_seat"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->ak:I

    .line 845
    :cond_4
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "comment_id"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_5

    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "from_name"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_5

    .line 846
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->O:Landroid/widget/RelativeLayout;

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

    .line 847
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->O:Landroid/widget/RelativeLayout;

    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string v4, "comment_id"

    invoke-virtual {v2, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J

    move-result-wide v4

    invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setTag(Ljava/lang/Object;)V

    .line 848
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->P:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

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

    sget v4, Lcom/moji/forum/R$string;->reply:I

    invoke-static {v4}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v4

    const-string v5, "from_name"

    invoke-virtual {v4, v5}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v4, "\uff1a"

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 850
    :cond_5
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "come_from_fav"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_6

    .line 851
    iput v1, p0, Lcom/moji/forum/ui/TopicActivity;->ao:I

    .line 853
    :cond_6
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "square_id"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_7

    .line 854
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "square_id"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aT:Ljava/lang/String;

    const/4 v0, 0x3

    .line 855
    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->ao:I

    .line 856
    iput-boolean v1, p0, Lcom/moji/forum/ui/TopicActivity;->aU:Z

    .line 858
    :cond_7
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "is_recommend_coterie"

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_8

    .line 859
    iput-boolean v1, p0, Lcom/moji/forum/ui/TopicActivity;->aV:Z

    .line 861
    :cond_8
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->au:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_9

    .line 862
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->mComment_num:Landroid/widget/TextView;

    const/16 v1, 0x8

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

    .line 863
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent0:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->au:Ljava/lang/String;

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    invoke-static {p0, v1, v2}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;Ljava/lang/String;Ljava/util/ArrayList;)Landroid/text/SpannableString;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 864
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->au:Ljava/lang/String;

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    invoke-static {p0, v1, v2}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;Ljava/lang/String;Ljava/util/ArrayList;)Landroid/text/SpannableString;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    :cond_9
    const-string v0, "lijf"

    .line 867
    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, "mTopicId = "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 868
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->q:Lcom/moji/forum/ui/CommentAdapter;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 871
    :catch_0
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->r()V

    return-void
.end method

.method protected c()V
    .locals 5

    .line 324
    new-instance v0, Lcom/moji/forum/ui/TopicActivity$TopicHandler;

    invoke-direct {v0, p0}, Lcom/moji/forum/ui/TopicActivity$TopicHandler;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aQ:Lcom/moji/forum/ui/TopicActivity$TopicHandler;

    .line 325
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->d()V

    .line 326
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$layout;->topic_menu:I

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 327
    sget v1, Lcom/moji/forum/R$id;->fl_setting_more_layout:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/FrameLayout;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aP:Landroid/widget/FrameLayout;

    .line 328
    sget v1, Lcom/moji/forum/R$id;->fl_voice_setting_more_selection:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/FrameLayout;

    .line 329
    invoke-virtual {v1, p0}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 330
    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->a(Landroid/view/View;)V

    .line 332
    sget v0, Lcom/moji/forum/R$id;->status_layout:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bk:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    .line 333
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bk:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    invoke-virtual {v0}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->F()V

    .line 335
    sget v0, Lcom/moji/forum/R$id;->ll_image_layout:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ap:Landroid/widget/LinearLayout;

    .line 336
    sget v0, Lcom/moji/forum/R$id;->fl_foot_func:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aq:Landroid/widget/FrameLayout;

    .line 337
    sget v0, Lcom/moji/forum/R$id;->join_activity:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bc:Landroid/view/View;

    .line 338
    sget v0, Lcom/moji/forum/R$id;->rl_emotion:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ar:Landroid/widget/RelativeLayout;

    .line 339
    sget v0, Lcom/moji/forum/R$id;->ll_empty_add_image:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aA:Landroid/widget/LinearLayout;

    .line 340
    sget v0, Lcom/moji/forum/R$id;->ll_current_image_layout:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aE:Landroid/widget/LinearLayout;

    .line 341
    sget v0, Lcom/moji/forum/R$id;->iv_empty_add_image:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aB:Landroid/widget/ImageView;

    .line 342
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aB:Landroid/widget/ImageView;

    iget v1, p0, Lcom/moji/forum/ui/TopicActivity;->av:I

    iget v3, p0, Lcom/moji/forum/ui/TopicActivity;->av:I

    invoke-direct {p0, v0, v1, v3}, Lcom/moji/forum/ui/TopicActivity;->b(Landroid/widget/ImageView;II)V

    .line 343
    sget v0, Lcom/moji/forum/R$id;->gv_comment_image:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/GridView;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ax:Landroid/widget/GridView;

    .line 344
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    new-instance v1, Lcom/moji/http/ugc/bean/ImageInfo;

    const/4 v3, 0x1

    invoke-direct {v1, v3}, Lcom/moji/http/ugc/bean/ImageInfo;-><init>(I)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 345
    new-instance v0, Lcom/moji/forum/ui/ImageAdapter;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    iget v3, p0, Lcom/moji/forum/ui/TopicActivity;->av:I

    const/4 v4, 0x2

    invoke-direct {v0, p0, v1, v3, v4}, Lcom/moji/forum/ui/ImageAdapter;-><init>(Landroid/content/Context;Ljava/util/ArrayList;II)V

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ay:Lcom/moji/forum/ui/ImageAdapter;

    .line 346
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ax:Landroid/widget/GridView;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->ay:Lcom/moji/forum/ui/ImageAdapter;

    invoke-virtual {v0, v1}, Landroid/widget/GridView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 347
    sget v0, Lcom/moji/forum/R$id;->tv_empty_info:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aC:Landroid/widget/TextView;

    .line 348
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aC:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

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

    sget v3, Lcom/moji/forum/R$string;->topic_comment_image_select:I

    invoke-static {v3}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v3, "0"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    sget v3, Lcom/moji/forum/R$string;->topic_comment_image_pager:I

    invoke-static {v3}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 349
    sget v0, Lcom/moji/forum/R$id;->tv_info:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aD:Landroid/widget/TextView;

    .line 351
    sget v0, Lcom/moji/forum/R$id;->cb_host_comment:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CheckBox;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aF:Landroid/widget/CheckBox;

    .line 352
    sget v0, Lcom/moji/forum/R$id;->cb_image_comment:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CheckBox;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aG:Landroid/widget/CheckBox;

    .line 353
    sget v0, Lcom/moji/forum/R$id;->tv_coterie_name:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aH:Landroid/widget/TextView;

    .line 355
    sget v0, Lcom/moji/forum/R$id;->rl_empty:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->af:Landroid/widget/RelativeLayout;

    .line 356
    sget v0, Lcom/moji/forum/R$id;->listview:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    .line 357
    sget v0, Lcom/moji/forum/R$id;->iv_return_top:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->R:Landroid/widget/ImageView;

    .line 358
    sget v0, Lcom/moji/forum/R$id;->topicpulltofresh:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/moji/pulltorefresh/PullToFreshContainer;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->x:Lcom/moji/pulltorefresh/PullToFreshContainer;

    .line 360
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->k()V

    .line 362
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$layout;->topic_header:I

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    .line 363
    sget v1, Lcom/moji/forum/R$id;->riv_face:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lcom/moji/imageview/RoundCornerImageView;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->r:Lcom/moji/imageview/RoundCornerImageView;

    .line 364
    sget v1, Lcom/moji/forum/R$id;->iv_rank_icon:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aL:Landroid/widget/ImageView;

    .line 365
    sget v1, Lcom/moji/forum/R$id;->tv_rank_name:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aM:Landroid/widget/TextView;

    .line 366
    sget v1, Lcom/moji/forum/R$id;->tv_header_topic_title:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->s:Landroid/widget/TextView;

    .line 367
    sget v1, Lcom/moji/forum/R$id;->tv_tag_name:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->ae:Landroid/widget/TextView;

    .line 368
    sget v1, Lcom/moji/forum/R$id;->tv_name:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->t:Landroid/widget/TextView;

    .line 369
    sget v1, Lcom/moji/forum/R$id;->tv_content:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->v:Landroid/widget/TextView;

    .line 370
    sget v1, Lcom/moji/forum/R$id;->tv_time:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->u:Landroid/widget/TextView;

    .line 371
    sget v1, Lcom/moji/forum/R$id;->ll_image:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->B:Landroid/widget/LinearLayout;

    .line 372
    sget v1, Lcom/moji/forum/R$id;->ll_topic_praise:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aI:Landroid/widget/LinearLayout;

    .line 373
    sget v1, Lcom/moji/forum/R$id;->praiseBtn:I

    invoke-virtual {p0, v1}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageButton;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->H:Landroid/widget/ImageButton;

    .line 374
    sget v1, Lcom/moji/forum/R$id;->fl_topic_praise:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/FrameLayout;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aN:Landroid/widget/FrameLayout;

    .line 375
    sget v1, Lcom/moji/forum/R$id;->tv_location:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->bg:Landroid/widget/TextView;

    .line 376
    sget v1, Lcom/moji/forum/R$id;->iv_topic_praise:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aJ:Landroid/widget/ImageView;

    .line 377
    sget v1, Lcom/moji/forum/R$id;->tv_topic_praise_num:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aK:Landroid/widget/TextView;

    .line 378
    sget v1, Lcom/moji/forum/R$id;->tv_look_num:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aR:Landroid/widget/TextView;

    .line 379
    sget v1, Lcom/moji/forum/R$id;->tv_comment_num:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aS:Landroid/widget/TextView;

    .line 380
    sget v1, Lcom/moji/forum/R$id;->come_from:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aY:Landroid/widget/TextView;

    .line 381
    sget v1, Lcom/moji/forum/R$id;->coterie_name:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aZ:Landroid/widget/TextView;

    const/4 v1, 0x0

    .line 382
    invoke-direct {p0, v1, v1, v1}, Lcom/moji/forum/ui/TopicActivity;->a(ZIZ)V

    .line 383
    iget-object v3, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    invoke-virtual {v3, v2}, Landroid/widget/ListView;->setDivider(Landroid/graphics/drawable/Drawable;)V

    .line 384
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    invoke-virtual {v2, v1}, Landroid/widget/ListView;->setDividerHeight(I)V

    .line 385
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    sget v3, Lcom/moji/forum/R$color;->transparent:I

    invoke-virtual {v2, v3}, Landroid/widget/ListView;->setSelector(I)V

    .line 386
    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    invoke-virtual {v2, v0}, Landroid/widget/ListView;->addHeaderView(Landroid/view/View;)V

    .line 387
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->addFooterView(Landroid/view/View;)V

    .line 389
    sget v0, Lcom/moji/forum/R$id;->rrl_rize_layout:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/moji/forum/view/AutoHeightLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->K:Lcom/moji/forum/view/AutoHeightLayout;

    .line 390
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->K:Lcom/moji/forum/view/AutoHeightLayout;

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->aq:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v2}, Lcom/moji/forum/view/AutoHeightLayout;->setAutoHeightLayoutView(Landroid/view/View;)V

    const-string v0, "input_method"

    .line 391
    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->G:Landroid/view/inputmethod/InputMethodManager;

    .line 392
    sget v0, Lcom/moji/forum/R$id;->replyBarBeforeClick:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->replyBarBeforeClick:Landroid/widget/LinearLayout;

    .line 393
    sget v0, Lcom/moji/forum/R$id;->replyBarAfterClick:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->replyBarAfterClick:Landroid/widget/LinearLayout;

    .line 394
    sget v0, Lcom/moji/forum/R$id;->edit_comment0:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent0:Landroid/widget/TextView;

    .line 395
    sget v0, Lcom/moji/forum/R$id;->comment_num:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->mComment_num:Landroid/widget/TextView;

    .line 396
    sget v0, Lcom/moji/forum/R$id;->edit_comment1:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    .line 397
    sget v0, Lcom/moji/forum/R$id;->emoticonBtn:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->I:Landroid/widget/ImageButton;

    .line 398
    sget v0, Lcom/moji/forum/R$id;->atBtn:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->J:Landroid/widget/ImageButton;

    .line 399
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getSupportFragmentManager()Landroid/support/v4/app/FragmentManager;

    move-result-object v0

    sget v2, Lcom/moji/forum/R$id;->emoticonFragment:I

    invoke-virtual {v0, v2}, Landroid/support/v4/app/FragmentManager;->findFragmentById(I)Landroid/support/v4/app/Fragment;

    move-result-object v0

    check-cast v0, Lcom/moji/emotion/EmotionFragment;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->F:Lcom/moji/emotion/EmotionFragment;

    .line 400
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->F:Lcom/moji/emotion/EmotionFragment;

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {v0, v2}, Lcom/moji/emotion/EmotionFragment;->a(Landroid/widget/EditText;)V

    .line 401
    sget v0, Lcom/moji/forum/R$id;->sendBtn1:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->L:Landroid/widget/Button;

    .line 402
    sget v0, Lcom/moji/forum/R$id;->sendBtn0:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->M:Landroid/widget/Button;

    .line 403
    sget v0, Lcom/moji/forum/R$id;->iv_photo:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->N:Landroid/widget/ImageView;

    .line 404
    new-instance v0, Lcom/moji/badge/BadgeView;

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->N:Landroid/widget/ImageView;

    invoke-direct {v0, p0, v2}, Lcom/moji/badge/BadgeView;-><init>(Landroid/content/Context;Landroid/view/View;)V

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->az:Lcom/moji/badge/BadgeView;

    .line 405
    sget v0, Lcom/moji/forum/R$id;->replyBar:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->O:Landroid/widget/RelativeLayout;

    .line 406
    sget v0, Lcom/moji/forum/R$id;->replyText:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->P:Landroid/widget/TextView;

    .line 407
    sget v0, Lcom/moji/forum/R$id;->replyCancleBtn:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->Q:Landroid/widget/ImageButton;

    .line 408
    new-instance v0, Lcom/moji/forum/ui/CommentAdapter;

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

    invoke-direct {v0, v2, p0}, Lcom/moji/forum/ui/CommentAdapter;-><init>(Ljava/util/ArrayList;Landroid/content/Context;)V

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->q:Lcom/moji/forum/ui/CommentAdapter;

    .line 409
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    const v2, 0x3ca3d70a    # 0.02f

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setFriction(F)V

    .line 412
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0x18

    if-ge v0, v2, :cond_0

    const v0, 0x1020002

    .line 413
    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    .line 414
    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    .line 415
    invoke-virtual {v0}, Landroid/view/View;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v1

    new-instance v2, Lcom/moji/forum/ui/TopicActivity$1;

    invoke-direct {v2, p0, v0}, Lcom/moji/forum/ui/TopicActivity$1;-><init>(Lcom/moji/forum/ui/TopicActivity;Landroid/view/View;)V

    invoke-virtual {v1, v2}, Landroid/view/ViewTreeObserver;->addOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V

    .line 425
    :cond_0
    sget v0, Lcom/moji/forum/R$id;->fl_list_bg:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/moji/forum/ui/TopicActivity$2;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$2;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method public dispatchKeyEvent(Landroid/view/KeyEvent;)Z
    .locals 2

    .line 789
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getAction()I

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v0

    const/4 v1, 0x4

    if-ne v0, v1, :cond_0

    .line 790
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->K:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {v0}, Lcom/moji/forum/view/AutoHeightLayout;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 791
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->FOLLOW_BTN_BACK:Lcom/moji/statistics/EVENT_TAG;

    invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;

    .line 792
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->K:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->b()V

    .line 793
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->I:Landroid/widget/ImageButton;

    sget v0, Lcom/moji/forum/R$drawable;->add_emotion_forum:I

    invoke-virtual {p1, v0}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    const/4 p1, 0x1

    return p1

    .line 798
    :cond_0
    invoke-super {p0, p1}, Lcom/moji/forum/ui/ForumShareBaseActivity;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z

    move-result p1

    return p1
.end method

.method protected e()V
    .locals 3

    .line 267
    sget v0, Lcom/moji/forum/R$layout;->activity_topic:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->setContentView(I)V

    .line 268
    invoke-static {}, Lcom/moji/tool/DeviceTool;->C()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 269
    sget-object v0, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;

    const-string v1, "4.4.4"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {p0}, Lcom/moji/tool/DeviceTool;->c(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 270
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x20

    invoke-virtual {v0, v1}, Landroid/view/Window;->setSoftInputMode(I)V

    goto :goto_0

    .line 272
    :cond_0
    new-instance v0, Lcom/moji/mjweather/library/AndroidBug5497Workaround;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/library/AndroidBug5497Workaround;-><init>(Landroid/app/Activity;)V

    .line 275
    :cond_1
    :goto_0
    invoke-static {}, Lcom/moji/tool/DeviceTool;->b()I

    move-result v0

    int-to-float v0, v0

    const/high16 v1, 0x42280000    # 42.0f

    invoke-static {}, Lcom/moji/forum/common/ResUtil;->a()F

    move-result v2

    mul-float v2, v2, v1

    sub-float/2addr v0, v2

    const/high16 v1, 0x40400000    # 3.0f

    div-float/2addr v0, v1

    float-to-int v0, v0

    iput v0, p0, Lcom/moji/forum/ui/TopicActivity;->av:I

    .line 276
    invoke-static {}, Lcom/moji/forum/base/ForumPrefer;->e()Lcom/moji/forum/base/ForumPrefer;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->n:Lcom/moji/forum/base/ForumPrefer;

    .line 277
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    .line 278
    new-instance v0, Lcom/moji/forum/controller/TopicDraftController;

    invoke-direct {v0}, Lcom/moji/forum/controller/TopicDraftController;-><init>()V

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bi:Lcom/moji/forum/controller/TopicDraftController;

    return-void
.end method

.method protected j()Ljava/lang/String;
    .locals 3

    .line 1521
    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "http://m.moji.com/moquan/topic/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-wide v1, v1, Lcom/moji/http/mqn/entity/Topic;->square_id:J

    invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->id:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected n()V
    .locals 8

    .line 1020
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    if-nez v0, :cond_0

    return-void

    .line 1022
    :cond_0
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->B:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    .line 1023
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->nick:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 1024
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->t:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->nick:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1026
    :cond_1
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-wide v0, v0, Lcom/moji/http/mqn/entity/Topic;->square_id:J

    const-wide/16 v2, 0x0

    const/4 v4, 0x1

    cmp-long v5, v0, v2

    if-eqz v5, :cond_2

    .line 1027
    iput-boolean v4, p0, Lcom/moji/forum/ui/TopicActivity;->aU:Z

    .line 1028
    :cond_2
    iget-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->aU:Z

    const/4 v1, 0x4

    const/16 v2, 0x8

    const/4 v3, 0x0

    if-eqz v0, :cond_3

    .line 1029
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aR:Landroid/widget/TextView;

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

    .line 1030
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aS:Landroid/widget/TextView;

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

    .line 1032
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ae:Landroid/widget/TextView;

    iget-object v5, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v5, v5, Lcom/moji/http/mqn/entity/Topic;->square_name:Ljava/lang/String;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1033
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ae:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setCompoundDrawablePadding(I)V

    .line 1034
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ae:Landroid/widget/TextView;

    const/4 v5, 0x0

    invoke-virtual {v0, v5, v5, v5, v5}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    goto :goto_0

    .line 1036
    :cond_3
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->tag_name:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4

    .line 1037
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ae:Landroid/widget/TextView;

    iget-object v5, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v5, v5, Lcom/moji/http/mqn/entity/Topic;->tag_name:Ljava/lang/String;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1038
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ae:Landroid/widget/TextView;

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

    goto :goto_0

    .line 1040
    :cond_4
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ae:Landroid/widget/TextView;

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

    .line 1043
    :goto_0
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->name:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_5

    .line 1044
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->s:Landroid/widget/TextView;

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

    .line 1045
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->s:Landroid/widget/TextView;

    iget-object v5, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v5, v5, Lcom/moji/http/mqn/entity/Topic;->name:Ljava/lang/String;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_1

    .line 1047
    :cond_5
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->s:Landroid/widget/TextView;

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

    .line 1050
    :goto_1
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->u:Landroid/widget/TextView;

    new-instance v5, Ljava/util/Date;

    iget-object v6, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-wide v6, v6, Lcom/moji/http/mqn/entity/Topic;->create_time:J

    invoke-direct {v5, v6, v7}, Ljava/util/Date;-><init>(J)V

    invoke-static {v5}, Lcom/moji/tool/DateFormatTool;->c(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1051
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aH:Landroid/widget/TextView;

    iget-object v5, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v5, v5, Lcom/moji/http/mqn/entity/Topic;->coterie_name:Ljava/lang/String;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1056
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aY:Landroid/widget/TextView;

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

    .line 1057
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aZ:Landroid/widget/TextView;

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

    .line 1058
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->square_name:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_6

    .line 1059
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aZ:Landroid/widget/TextView;

    iget-object v5, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v5, v5, Lcom/moji/http/mqn/entity/Topic;->square_name:Ljava/lang/String;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_2

    .line 1061
    :cond_6
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aZ:Landroid/widget/TextView;

    iget-object v5, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v5, v5, Lcom/moji/http/mqn/entity/Topic;->coterie_name:Ljava/lang/String;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1063
    :goto_2
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aZ:Landroid/widget/TextView;

    iget-object v5, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    .line 1064
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aZ:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1066
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->content:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_7

    .line 1067
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->v:Landroid/widget/TextView;

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

    .line 1068
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->v:Landroid/widget/TextView;

    iget-object v5, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v5, v5, Lcom/moji/http/mqn/entity/Topic;->content:Ljava/lang/String;

    iget-object v6, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v6, v6, Lcom/moji/http/mqn/entity/Topic;->sid_list:Ljava/util/ArrayList;

    iget-object v7, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v7, v7, Lcom/moji/http/mqn/entity/Topic;->tid_list:Ljava/util/ArrayList;

    invoke-static {p0, v5, v6, v7}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;Ljava/lang/String;Ljava/util/ArrayList;Ljava/util/ArrayList;)Landroid/text/SpannableString;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1069
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->v:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setHighlightColor(I)V

    .line 1070
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->v:Landroid/widget/TextView;

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

    goto :goto_3

    .line 1072
    :cond_7
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->v:Landroid/widget/TextView;

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

    .line 1073
    :goto_3
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aR:Landroid/widget/TextView;

    new-instance v5, Ljava/lang/StringBuilder;

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

    iget-object v6, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v6, v6, Lcom/moji/http/mqn/entity/Topic;->browse_count:Ljava/lang/String;

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    sget v6, Lcom/moji/forum/R$string;->browse:I

    invoke-static {v6}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1074
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aS:Landroid/widget/TextView;

    new-instance v5, Ljava/lang/StringBuilder;

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

    iget-object v6, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v6, v6, Lcom/moji/http/mqn/entity/Topic;->comment_count:Ljava/lang/String;

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    sget v6, Lcom/moji/forum/R$string;->reply:I

    invoke-static {v6}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1075
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->mComment_num:Landroid/widget/TextView;

    sget v5, Lcom/moji/forum/R$string;->topic_num:I

    new-array v4, v4, [Ljava/lang/Object;

    iget-object v6, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v6, v6, Lcom/moji/http/mqn/entity/Topic;->comment_count:Ljava/lang/String;

    aput-object v6, v4, v3

    invoke-virtual {p0, v5, v4}, Lcom/moji/forum/ui/TopicActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1076
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget v0, v0, Lcom/moji/http/mqn/entity/Topic;->sex:I

    const/4 v4, 0x2

    if-ne v0, v4, :cond_8

    .line 1077
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->r:Lcom/moji/imageview/RoundCornerImageView;

    iget-object v4, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v4, v4, Lcom/moji/http/mqn/entity/Topic;->face:Ljava/lang/String;

    sget v5, Lcom/moji/forum/R$drawable;->sns_female_face_default:I

    invoke-virtual {p0, v0, v4, v5}, Lcom/moji/forum/ui/TopicActivity;->a(Landroid/widget/ImageView;Ljava/lang/String;I)V

    goto :goto_4

    .line 1079
    :cond_8
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->r:Lcom/moji/imageview/RoundCornerImageView;

    iget-object v4, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v4, v4, Lcom/moji/http/mqn/entity/Topic;->face:Ljava/lang/String;

    sget v5, Lcom/moji/forum/R$drawable;->sns_face_default:I

    invoke-virtual {p0, v0, v4, v5}, Lcom/moji/forum/ui/TopicActivity;->a(Landroid/widget/ImageView;Ljava/lang/String;I)V

    .line 1080
    :goto_4
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->rank_icon:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_9

    .line 1081
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aL:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->rank_icon:Ljava/lang/String;

    invoke-virtual {p0, v0, v1}, Lcom/moji/forum/ui/TopicActivity;->a(Landroid/widget/ImageView;Ljava/lang/String;)V

    .line 1082
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aL:Landroid/widget/ImageView;

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

    goto :goto_5

    .line 1084
    :cond_9
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aL:Landroid/widget/ImageView;

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

    .line 1086
    :goto_5
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->rank_name:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_a

    .line 1087
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aM:Landroid/widget/TextView;

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

    .line 1088
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aM:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->rank_name:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_6

    .line 1090
    :cond_a
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aM:Landroid/widget/TextView;

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

    .line 1097
    :goto_6
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->address:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_b

    .line 1098
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->forum_id:Ljava/lang/String;

    iput-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bh:Ljava/lang/String;

    .line 1099
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bg:Landroid/widget/TextView;

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

    .line 1100
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bg:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->address:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_7

    .line 1102
    :cond_b
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bg:Landroid/widget/TextView;

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

    .line 1105
    :goto_7
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->image_list:Ljava/util/ArrayList;

    if-eqz v0, :cond_f

    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->image_list:Ljava/util/ArrayList;

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

    move-result v0

    if-lez v0, :cond_f

    .line 1106
    :goto_8
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->image_list:Ljava/util/ArrayList;

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

    move-result v0

    if-ge v3, v0, :cond_f

    .line 1107
    invoke-direct {p0, v3}, Lcom/moji/forum/ui/TopicActivity;->d(I)Landroid/widget/ImageView;

    move-result-object v0

    if-nez v0, :cond_c

    goto :goto_9

    .line 1111
    :cond_c
    sget v1, Lcom/moji/forum/R$drawable;->topic_pic_loading_bg:I

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

    .line 1113
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->image_list:Ljava/util/ArrayList;

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/http/mqn/entity/Topic$TopicImage;

    iget v1, v1, Lcom/moji/http/mqn/entity/Topic$TopicImage;->width:I

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v2, v2, Lcom/moji/http/mqn/entity/Topic;->image_list:Ljava/util/ArrayList;

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/moji/http/mqn/entity/Topic$TopicImage;

    iget v2, v2, Lcom/moji/http/mqn/entity/Topic$TopicImage;->height:I

    invoke-direct {p0, v0, v1, v2}, Lcom/moji/forum/ui/TopicActivity;->a(Landroid/widget/ImageView;II)V

    .line 1114
    invoke-virtual {v0}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_d

    invoke-virtual {v0}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v1

    iget-object v2, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v2, v2, Lcom/moji/http/mqn/entity/Topic;->image_list:Ljava/util/ArrayList;

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/moji/http/mqn/entity/Topic$TopicImage;

    iget-object v2, v2, Lcom/moji/http/mqn/entity/Topic$TopicImage;->path:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_e

    .line 1115
    :cond_d
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->image_list:Ljava/util/ArrayList;

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/http/mqn/entity/Topic$TopicImage;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic$TopicImage;->path:Ljava/lang/String;

    invoke-virtual {p0, v0, v1}, Lcom/moji/forum/ui/TopicActivity;->a(Landroid/widget/ImageView;Ljava/lang/String;)V

    .line 1116
    :cond_e
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->image_list:Ljava/util/ArrayList;

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    .line 1117
    new-instance v1, Lcom/moji/forum/ui/TopicActivity$16;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/TopicActivity$16;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1131
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->B:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :goto_9
    add-int/lit8 v3, v3, 0x1

    goto :goto_8

    :cond_f
    return-void
.end method

.method protected o()V
    .locals 2

    .line 2884
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->x:Lcom/moji/pulltorefresh/PullToFreshContainer;

    invoke-virtual {v0}, Lcom/moji/pulltorefresh/PullToFreshContainer;->b()V

    .line 2885
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bb:Lcom/moji/http/mqn/entity/Topic;

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bk:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    if-eqz v0, :cond_1

    .line 2886
    invoke-static {}, Lcom/moji/tool/DeviceTool;->m()Z

    move-result v0

    if-nez v0, :cond_0

    .line 2887
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bk:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    sget v1, Lcom/moji/forum/R$string;->no_network:I

    invoke-virtual {p0, v1}, Lcom/moji/forum/ui/TopicActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->showErrorView(Ljava/lang/String;)V

    goto :goto_0

    .line 2889
    :cond_0
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bk:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    invoke-virtual {v0}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->G()V

    goto :goto_0

    .line 2892
    :cond_1
    sget v0, Lcom/moji/forum/R$string;->network_exception:I

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

    :goto_0
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 4

    .line 1538
    invoke-super {p0, p1, p2, p3}, Lcom/moji/forum/ui/ForumShareBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    const/16 v0, 0x7b

    const/4 v1, -0x1

    const/4 v2, 0x1

    const/4 v3, 0x0

    if-eq p1, v0, :cond_9

    const/16 v0, 0x2a5

    if-eq p1, v0, :cond_4

    const/16 v0, 0x2a7

    if-eq p1, v0, :cond_0

    goto/16 :goto_5

    :cond_0
    if-nez p2, :cond_f

    if-eqz p3, :cond_3

    :try_start_0
    const-string p1, "total_iamge_id"

    .line 1562
    invoke-virtual {p3, p1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object p1

    if-nez p1, :cond_1

    goto :goto_0

    .line 1564
    :cond_1
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->clear()V

    const-string p1, "total_iamge_id"

    .line 1565
    invoke-virtual {p3, p1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object p1

    check-cast p1, Ljava/util/ArrayList;

    iput-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    .line 1566
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

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

    move-result p1

    iget p2, p0, Lcom/moji/forum/ui/TopicActivity;->picNumLimit:I

    if-ge p1, p2, :cond_2

    .line 1567
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    new-instance p2, Lcom/moji/http/ugc/bean/ImageInfo;

    invoke-direct {p2, v2}, Lcom/moji/http/ugc/bean/ImageInfo;-><init>(I)V

    invoke-virtual {p1, p2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 1569
    :cond_2
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ay:Lcom/moji/forum/ui/ImageAdapter;

    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    invoke-virtual {p1, p2}, Lcom/moji/forum/ui/ImageAdapter;->a(Ljava/util/ArrayList;)V

    .line 1570
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->w()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 1573
    :catch_0
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ay:Lcom/moji/forum/ui/ImageAdapter;

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

    goto/16 :goto_5

    :cond_3
    :goto_0
    return-void

    :cond_4
    if-ne p2, v1, :cond_f

    .line 1542
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

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

    move-result p1

    const/16 p2, 0x14

    if-lt p1, p2, :cond_5

    .line 1543
    sget p1, Lcom/moji/forum/R$string;->at_more_than_limit_people:I

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

    return-void

    :cond_5
    if-nez p3, :cond_6

    return-void

    :cond_6
    const-string p1, "nickName"

    .line 1548
    invoke-virtual {p3, p1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const-string p2, "snsId"

    .line 1549
    invoke-virtual {p3, p2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    if-eqz p1, :cond_8

    if-nez p2, :cond_7

    goto :goto_1

    .line 1552
    :cond_7
    iget-object p3, p0, Lcom/moji/forum/ui/TopicActivity;->aW:Ljava/util/ArrayList;

    invoke-static {p0, p1, p2, p3}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/util/ArrayList;)Landroid/graphics/Bitmap;

    move-result-object p1

    .line 1553
    new-instance p3, Landroid/text/SpannableString;

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, " @"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, " "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p3, v0}, Landroid/text/SpannableString;-><init>(Ljava/lang/CharSequence;)V

    .line 1554
    new-instance v0, Lcom/moji/forum/ui/MyImageSpan;

    invoke-direct {v0, p0, p1}, Lcom/moji/forum/ui/MyImageSpan;-><init>(Landroid/content/Context;Landroid/graphics/Bitmap;)V

    invoke-virtual {p2}, Ljava/lang/String;->length()I

    move-result p1

    add-int/lit8 p1, p1, 0x3

    const/16 p2, 0x21

    invoke-virtual {p3, v0, v3, p1, p2}, Landroid/text/SpannableString;->setSpan(Ljava/lang/Object;III)V

    .line 1555
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getEditableText()Landroid/text/Editable;

    move-result-object p1

    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p2}, Landroid/widget/EditText;->getSelectionStart()I

    move-result p2

    invoke-interface {p1, p2, p3}, Landroid/text/Editable;->insert(ILjava/lang/CharSequence;)Landroid/text/Editable;

    .line 1556
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->requestFocus()Z

    goto :goto_5

    :cond_8
    :goto_1
    return-void

    :cond_9
    if-ne p2, v1, :cond_f

    const-string p1, "result_extra_data"

    .line 1579
    invoke-virtual {p3, p1}, Landroid/content/Intent;->getParcelableArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object p1

    if-eqz p1, :cond_e

    .line 1580
    invoke-virtual {p1}, Ljava/util/ArrayList;->isEmpty()Z

    move-result p2

    if-eqz p2, :cond_a

    goto :goto_4

    .line 1583
    :cond_a
    invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_b
    :goto_2
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result p2

    if-eqz p2, :cond_d

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/moji/camera/model/Image;

    .line 1584
    new-instance p3, Lcom/moji/http/ugc/bean/ImageInfo;

    iget-object p2, p2, Lcom/moji/camera/model/Image;->originalUri:Landroid/net/Uri;

    invoke-virtual {p2}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object p2

    const-wide/16 v0, 0xb

    invoke-direct {p3, p2, v3, v0, v1}, Lcom/moji/http/ugc/bean/ImageInfo;-><init>(Ljava/lang/String;IJ)V

    .line 1585
    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

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

    move-result v0

    sub-int/2addr v0, v2

    if-ltz v0, :cond_c

    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

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

    move-result v0

    sub-int/2addr v0, v2

    goto :goto_3

    :cond_c
    const/4 v0, 0x0

    :goto_3
    invoke-virtual {p2, v0, p3}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    .line 1586
    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

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

    move-result p2

    iget p3, p0, Lcom/moji/forum/ui/TopicActivity;->picNumLimit:I

    if-le p2, p3, :cond_b

    .line 1587
    iget-object p2, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

    iget-object p3, p0, Lcom/moji/forum/ui/TopicActivity;->aw:Ljava/util/ArrayList;

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

    move-result p3

    sub-int/2addr p3, v2

    invoke-virtual {p2, p3}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    goto :goto_2

    .line 1589
    :cond_d
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->w()V

    .line 1590
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ay:Lcom/moji/forum/ui/ImageAdapter;

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

    goto :goto_5

    :cond_e
    :goto_4
    return-void

    :cond_f
    :goto_5
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 7

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

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 1856
    :cond_0
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    .line 1857
    sget v1, Lcom/moji/forum/R$id;->iv_title_back:I

    if-ne v0, v1, :cond_1

    .line 1858
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v2, Lcom/moji/statistics/EVENT_TAG;->POST_BACK_CLICK:Lcom/moji/statistics/EVENT_TAG;

    invoke-virtual {v1, v2}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;

    .line 1859
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->B()V

    .line 1860
    invoke-virtual {p0}, Lcom/moji/forum/ui/TopicActivity;->finish()V

    .line 1863
    :cond_1
    sget v1, Lcom/moji/forum/R$id;->join_activity:I

    if-ne v0, v1, :cond_5

    .line 1864
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bb:Lcom/moji/http/mqn/entity/Topic;

    if-eqz p1, :cond_42

    .line 1866
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->POST_DETAIL_CLICK:Lcom/moji/statistics/EVENT_TAG;

    invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;

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

    move-result p1

    if-eqz p1, :cond_4

    .line 1868
    new-instance p1, Landroid/content/Intent;

    const-class v0, Lcom/moji/forum/ui/NewTopicActivity;

    invoke-direct {p1, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v0, "active_title"

    .line 1869
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->bb:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->active_title:Ljava/lang/String;

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

    .line 1870
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bb:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->coterie_id:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    const-string v0, "coterie_id"

    .line 1871
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->bb:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->coterie_id:Ljava/lang/String;

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

    const-string v0, "name"

    .line 1872
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->bb:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->coterie_name:Ljava/lang/String;

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

    goto :goto_0

    .line 1873
    :cond_2
    iget-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->aU:Z

    if-eqz v0, :cond_3

    const-string v0, "square_id"

    .line 1874
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->aT:Ljava/lang/String;

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

    const-string v0, "name"

    .line 1875
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->bb:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->square_name:Ljava/lang/String;

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

    :cond_3
    :goto_0
    const-string v0, "tag_id"

    .line 1878
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->bb:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->tag_id:Ljava/lang/String;

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

    const-string v0, "tag_name"

    .line 1879
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->bb:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->tag_name:Ljava/lang/String;

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

    .line 1880
    invoke-virtual {p0, p1}, Lcom/moji/forum/ui/TopicActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_a

    .line 1882
    :cond_4
    invoke-static {p0}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;)V

    goto/16 :goto_a

    .line 1885
    :cond_5
    sget v1, Lcom/moji/forum/R$id;->atBtn:I

    const/4 v2, 0x2

    if-ne v0, v1, :cond_6

    .line 1886
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->C_AT_FRIENDS_SHOW:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "2"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 1887
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->C_AT_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "2"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 1888
    new-instance p1, Landroid/content/Intent;

    const-class v0, Lcom/moji/forum/ui/MyFriendActivity;

    invoke-direct {p1, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v0, "from"

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

    const/16 v0, 0x2a5

    .line 1890
    invoke-virtual {p0, p1, v0}, Lcom/moji/forum/ui/TopicActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto/16 :goto_a

    .line 1892
    :cond_6
    sget v1, Lcom/moji/forum/R$id;->emoticonBtn:I

    if-ne v0, v1, :cond_8

    .line 1893
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->K:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->getKeyBoardState()I

    move-result p1

    packed-switch p1, :pswitch_data_0

    :pswitch_0
    goto/16 :goto_a

    .line 1903
    :pswitch_1
    iget p1, p0, Lcom/moji/forum/ui/TopicActivity;->mChildViewPosition:I

    sget v0, Lcom/moji/forum/ui/TopicActivity;->FUNC_CHILD_VIEW_EMOTICON:I

    if-ne p1, v0, :cond_7

    .line 1904
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->I:Landroid/widget/ImageButton;

    sget v0, Lcom/moji/forum/R$drawable;->add_emotion_forum:I

    invoke-virtual {p1, v0}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    .line 1905
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->TXT_PAD_SHOW:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "2"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 1906
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

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

    goto/16 :goto_a

    .line 1908
    :cond_7
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->EMOJI_PAD_SHOW:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "2"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 1909
    sget p1, Lcom/moji/forum/ui/TopicActivity;->FUNC_CHILD_VIEW_EMOTICON:I

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

    .line 1910
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->I:Landroid/widget/ImageButton;

    sget v0, Lcom/moji/forum/R$drawable;->add_words_forum:I

    invoke-virtual {p1, v0}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    goto/16 :goto_a

    .line 1896
    :pswitch_2
    sget p1, Lcom/moji/forum/ui/TopicActivity;->FUNC_CHILD_VIEW_EMOTICON:I

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

    .line 1897
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->I:Landroid/widget/ImageButton;

    sget v0, Lcom/moji/forum/R$drawable;->add_words_forum:I

    invoke-virtual {p1, v0}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    .line 1898
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->EMOJI_PAD_SHOW:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "2"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 1899
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->K:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->c()V

    .line 1900
    invoke-static {p0}, Lcom/moji/forum/common/ForumUtil;->c(Landroid/content/Context;)V

    goto/16 :goto_a

    .line 1915
    :cond_8
    sget v1, Lcom/moji/forum/R$id;->sendBtn0:I

    const/4 v3, 0x3

    const/4 v4, 0x1

    if-eq v0, v1, :cond_3b

    sget v1, Lcom/moji/forum/R$id;->sendBtn1:I

    if-ne v0, v1, :cond_9

    goto/16 :goto_8

    .line 1940
    :cond_9
    sget v1, Lcom/moji/forum/R$id;->iv_photo:I

    if-ne v0, v1, :cond_b

    .line 1941
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->CAMERA_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "2"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 1943
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->K:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->getKeyBoardState()I

    move-result p1

    packed-switch p1, :pswitch_data_1

    :pswitch_3
    goto/16 :goto_a

    .line 1952
    :pswitch_4
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->I:Landroid/widget/ImageButton;

    sget v0, Lcom/moji/forum/R$drawable;->add_emotion_forum:I

    invoke-virtual {p1, v0}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    .line 1953
    iget p1, p0, Lcom/moji/forum/ui/TopicActivity;->mChildViewPosition:I

    sget v0, Lcom/moji/forum/ui/TopicActivity;->FUNC_CHILD_VIEW_IMAGE:I

    if-ne p1, v0, :cond_a

    .line 1954
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->K:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->b()V

    goto/16 :goto_a

    .line 1956
    :cond_a
    sget p1, Lcom/moji/forum/ui/TopicActivity;->FUNC_CHILD_VIEW_IMAGE:I

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

    goto/16 :goto_a

    .line 1946
    :pswitch_5
    sget p1, Lcom/moji/forum/ui/TopicActivity;->FUNC_CHILD_VIEW_IMAGE:I

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

    .line 1947
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->I:Landroid/widget/ImageButton;

    sget v0, Lcom/moji/forum/R$drawable;->add_emotion_forum:I

    invoke-virtual {p1, v0}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    .line 1948
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->K:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->c()V

    .line 1949
    invoke-static {p0}, Lcom/moji/forum/common/ForumUtil;->c(Landroid/content/Context;)V

    goto/16 :goto_a

    .line 1961
    :cond_b
    sget v1, Lcom/moji/forum/R$id;->tv_reply:I

    const/16 v5, 0x8

    const/4 v6, 0x0

    if-ne v0, v1, :cond_d

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

    move-result v0

    if-eqz v0, :cond_c

    .line 1964
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/moji/http/mqn/entity/TopicComment;

    .line 1965
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->O:Landroid/widget/RelativeLayout;

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

    .line 1966
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->O:Landroid/widget/RelativeLayout;

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

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setTag(Ljava/lang/Object;)V

    .line 1967
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->P:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

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

    sget v2, Lcom/moji/forum/R$string;->reply:I

    invoke-static {v2}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p1, p1, Lcom/moji/http/mqn/entity/TopicComment;->nick:Ljava/lang/String;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "\uff1a"

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1968
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->replyBarBeforeClick:Landroid/widget/LinearLayout;

    invoke-virtual {p1, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 1969
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->replyBarAfterClick:Landroid/widget/LinearLayout;

    invoke-virtual {p1, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 1970
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

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

    goto/16 :goto_a

    .line 1972
    :cond_c
    invoke-static {p0}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_a

    .line 1977
    :cond_d
    sget v1, Lcom/moji/forum/R$id;->replyCancleBtn:I

    if-ne v0, v1, :cond_e

    .line 1978
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->O:Landroid/widget/RelativeLayout;

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

    goto/16 :goto_a

    .line 1980
    :cond_e
    sget v1, Lcom/moji/forum/R$id;->iv_share:I

    if-ne v0, v1, :cond_11

    .line 1981
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->POST_BTN_MORE_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "1"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 1982
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    if-eqz p1, :cond_f

    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    invoke-virtual {p1}, Landroid/app/Dialog;->isShowing()Z

    move-result p1

    if-eqz p1, :cond_f

    .line 1983
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

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

    .line 1986
    :cond_f
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    if-eqz p1, :cond_42

    .line 1987
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

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

    if-eqz p1, :cond_10

    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

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

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

    move-result p1

    if-lez p1, :cond_10

    .line 1988
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object p1, p1, Lcom/moji/http/mqn/entity/Topic;->name:Ljava/lang/String;

    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->content:Ljava/lang/String;

    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->image_list:Ljava/util/ArrayList;

    invoke-virtual {v1, v6}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/http/mqn/entity/Topic$TopicImage;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic$TopicImage;->path:Ljava/lang/String;

    invoke-virtual {p0, p1, v0, v1}, Lcom/moji/forum/ui/TopicActivity;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_a

    .line 1990
    :cond_10
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object p1, p1, Lcom/moji/http/mqn/entity/Topic;->name:Ljava/lang/String;

    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->content:Ljava/lang/String;

    const-string v1, ""

    invoke-virtual {p0, p1, v0, v1}, Lcom/moji/forum/ui/TopicActivity;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_a

    .line 1994
    :cond_11
    sget v1, Lcom/moji/forum/R$id;->iv_return_top:I

    if-ne v0, v1, :cond_12

    .line 1995
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->POST_TOP_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "2"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 1996
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    if-eqz p1, :cond_42

    .line 1997
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    invoke-virtual {p1, v6, v6}, Landroid/widget/ListView;->setSelectionFromTop(II)V

    goto/16 :goto_a

    .line 1999
    :cond_12
    sget v1, Lcom/moji/forum/R$id;->riv_face:I

    if-ne v0, v1, :cond_15

    .line 2000
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->POST_AVATAR_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "1"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 2001
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    if-eqz p1, :cond_14

    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object p1, p1, Lcom/moji/http/mqn/entity/Topic;->sns_id:Ljava/lang/String;

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-eqz p1, :cond_13

    goto :goto_1

    .line 2002
    :cond_13
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object p1, p1, Lcom/moji/http/mqn/entity/Topic;->sns_id:Ljava/lang/String;

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

    goto/16 :goto_a

    :cond_14
    :goto_1
    return-void

    .line 2003
    :cond_15
    sget v1, Lcom/moji/forum/R$id;->riv_item_face:I

    if-ne v0, v1, :cond_16

    .line 2004
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->POST_AVATAR_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v2, "2"

    invoke-virtual {v0, v1, v2}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 2005
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/moji/http/mqn/entity/TopicComment;

    if-eqz p1, :cond_42

    .line 2006
    iget-object v0, p1, Lcom/moji/http/mqn/entity/TopicComment;->sns_id:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_42

    .line 2007
    iget-object p1, p1, Lcom/moji/http/mqn/entity/TopicComment;->sns_id:Ljava/lang/String;

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

    goto/16 :goto_a

    .line 2009
    :cond_16
    sget v1, Lcom/moji/forum/R$id;->comment_num:I

    if-eq v0, v1, :cond_3a

    sget v1, Lcom/moji/forum/R$id;->edit_comment0:I

    if-ne v0, v1, :cond_17

    goto/16 :goto_7

    .line 2012
    :cond_17
    sget v1, Lcom/moji/forum/R$id;->tv_tag_name:I

    if-ne v0, v1, :cond_18

    .line 2013
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->POST_TAG_CLICK:Lcom/moji/statistics/EVENT_TAG;

    invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;

    .line 2014
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->TAG_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "2"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 2015
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    if-eqz p1, :cond_42

    .line 2016
    new-instance p1, Landroid/content/Intent;

    const-class v0, Lcom/moji/forum/ui/SingleTagTopicListActivity;

    invoke-direct {p1, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v0, "tag_id"

    .line 2017
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->tag_id:Ljava/lang/String;

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

    const-string v0, "tag_name"

    .line 2018
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->tag_name:Ljava/lang/String;

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

    const-string v0, "coterie_id"

    .line 2020
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->coterie_id:Ljava/lang/String;

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

    .line 2021
    invoke-virtual {p0, p1}, Lcom/moji/forum/ui/TopicActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_a

    .line 2024
    :cond_18
    sget v1, Lcom/moji/forum/R$id;->btn_ok:I

    if-ne v0, v1, :cond_1e

    .line 2025
    iget p1, p0, Lcom/moji/forum/ui/TopicActivity;->D:I

    iget v0, p0, Lcom/moji/forum/ui/TopicActivity;->C:I

    div-int/2addr p1, v0

    iget v0, p0, Lcom/moji/forum/ui/TopicActivity;->D:I

    iget v1, p0, Lcom/moji/forum/ui/TopicActivity;->C:I

    rem-int/2addr v0, v1

    if-nez v0, :cond_19

    const/4 v0, 0x0

    goto :goto_2

    :cond_19
    const/4 v0, 0x1

    :goto_2
    add-int/2addr p1, v0

    if-nez p1, :cond_1a

    const/4 p1, 0x1

    .line 2027
    :cond_1a
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ai:Landroid/app/Dialog;

    if-eqz v0, :cond_42

    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ai:Landroid/app/Dialog;

    invoke-virtual {v0}, Landroid/app/Dialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_42

    .line 2028
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ah:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1d

    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->ah:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    if-gt v0, p1, :cond_1d

    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ah:Landroid/widget/EditText;

    .line 2029
    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result p1

    if-nez p1, :cond_1b

    goto :goto_4

    .line 2032
    :cond_1b
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ai:Landroid/app/Dialog;

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

    .line 2033
    iget p1, p0, Lcom/moji/forum/ui/TopicActivity;->T:I

    if-ne p1, v4, :cond_1c

    .line 2034
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ah:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result p1

    add-int/2addr p1, v4

    iput p1, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    .line 2035
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ah:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result p1

    iput p1, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    goto :goto_3

    .line 2037
    :cond_1c
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ah:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result p1

    sub-int/2addr p1, v4

    iput p1, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    .line 2038
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ah:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result p1

    iput p1, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    .line 2040
    :goto_3
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->q:Lcom/moji/forum/ui/CommentAdapter;

    iget v0, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    invoke-virtual {p1, v0}, Lcom/moji/forum/ui/CommentAdapter;->c(I)V

    .line 2041
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->q:Lcom/moji/forum/ui/CommentAdapter;

    iget v0, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    invoke-virtual {p1, v0}, Lcom/moji/forum/ui/CommentAdapter;->a(I)V

    .line 2042
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    invoke-virtual {p1, v6, v6}, Landroid/widget/ListView;->setSelectionFromTop(II)V

    .line 2043
    invoke-direct {p0, v4, v4}, Lcom/moji/forum/ui/TopicActivity;->a(ZZ)V

    goto/16 :goto_a

    .line 2030
    :cond_1d
    :goto_4
    sget p1, Lcom/moji/forum/R$string;->error_page:I

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

    move-result-object p1

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

    goto/16 :goto_a

    .line 2047
    :cond_1e
    sget v1, Lcom/moji/forum/R$id;->btn_cancel:I

    if-ne v0, v1, :cond_1f

    .line 2048
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ai:Landroid/app/Dialog;

    if-eqz p1, :cond_42

    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ai:Landroid/app/Dialog;

    invoke-virtual {p1}, Landroid/app/Dialog;->isShowing()Z

    move-result p1

    if-eqz p1, :cond_42

    .line 2049
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ai:Landroid/app/Dialog;

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

    goto/16 :goto_a

    .line 2052
    :cond_1f
    sget v1, Lcom/moji/forum/R$id;->fl_voice_setting_more_selection:I

    if-ne v0, v1, :cond_20

    .line 2053
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->z()V

    .line 2054
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->POST_BTN_MORE_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "0"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    goto/16 :goto_a

    .line 2055
    :cond_20
    sget v1, Lcom/moji/forum/R$id;->iv_collect:I

    if-ne v0, v1, :cond_24

    .line 2056
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->POST_BTN_MORE_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "3"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 2057
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    if-eqz p1, :cond_21

    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    invoke-virtual {p1}, Landroid/app/Dialog;->isShowing()Z

    move-result p1

    if-eqz p1, :cond_21

    .line 2058
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

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

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

    move-result p1

    if-eqz p1, :cond_23

    .line 2060
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-boolean p1, p1, Lcom/moji/http/mqn/entity/Topic;->is_collect:Z

    if-eqz p1, :cond_22

    .line 2061
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->y()V

    goto/16 :goto_a

    .line 2063
    :cond_22
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->x()V

    goto/16 :goto_a

    .line 2065
    :cond_23
    invoke-static {p0}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;)V

    goto/16 :goto_a

    .line 2068
    :cond_24
    sget v1, Lcom/moji/forum/R$id;->iv_jump_page:I

    if-ne v0, v1, :cond_26

    .line 2069
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->POST_BTN_MORE_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "2"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 2070
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    if-eqz p1, :cond_25

    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    invoke-virtual {p1}, Landroid/app/Dialog;->isShowing()Z

    move-result p1

    if-eqz p1, :cond_25

    .line 2071
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

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

    .line 2072
    :cond_25
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->A()V

    goto/16 :goto_a

    .line 2074
    :cond_26
    sget v1, Lcom/moji/forum/R$id;->iv_enlighten:I

    if-ne v0, v1, :cond_29

    .line 2075
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->POST_BTN_MORE_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "6"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 2076
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    if-eqz p1, :cond_27

    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    invoke-virtual {p1}, Landroid/app/Dialog;->isShowing()Z

    move-result p1

    if-eqz p1, :cond_27

    .line 2077
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

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

    .line 2078
    :cond_27
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-boolean p1, p1, Lcom/moji/http/mqn/entity/Topic;->is_cream:Z

    if-eqz p1, :cond_28

    .line 2079
    invoke-direct {p0, v2}, Lcom/moji/forum/ui/TopicActivity;->f(I)V

    goto/16 :goto_a

    .line 2081
    :cond_28
    invoke-direct {p0, v4}, Lcom/moji/forum/ui/TopicActivity;->f(I)V

    goto/16 :goto_a

    .line 2084
    :cond_29
    sget v1, Lcom/moji/forum/R$id;->iv_silenced:I

    if-ne v0, v1, :cond_2a

    .line 2085
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->POST_BTN_MORE_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "7"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 2086
    new-instance p1, Landroid/content/Intent;

    const-class v0, Lcom/moji/forum/ui/ReportOrGagActivity;

    invoke-direct {p1, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v0, "report_or_gag_type"

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

    const-string v0, "sns_id"

    .line 2088
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->sns_id:Ljava/lang/String;

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

    const-string v0, "user_id"

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

    .line 2090
    invoke-virtual {p0, p1}, Lcom/moji/forum/ui/TopicActivity;->startActivity(Landroid/content/Intent;)V

    .line 2091
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    if-eqz p1, :cond_42

    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    invoke-virtual {p1}, Landroid/app/Dialog;->isShowing()Z

    move-result p1

    if-eqz p1, :cond_42

    .line 2092
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

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

    goto/16 :goto_a

    .line 2094
    :cond_2a
    sget v1, Lcom/moji/forum/R$id;->iv_delete:I

    if-ne v0, v1, :cond_2c

    .line 2095
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->POST_BTN_MORE_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "5"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 2096
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    if-eqz p1, :cond_2b

    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    invoke-virtual {p1}, Landroid/app/Dialog;->isShowing()Z

    move-result p1

    if-eqz p1, :cond_2b

    .line 2097
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

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

    .line 2098
    :cond_2b
    invoke-direct {p0, v3}, Lcom/moji/forum/ui/TopicActivity;->f(I)V

    goto/16 :goto_a

    .line 2100
    :cond_2c
    sget v1, Lcom/moji/forum/R$id;->iv_change_order:I

    if-ne v0, v1, :cond_30

    .line 2101
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->POST_BTN_MORE_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "1"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 2102
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    if-eqz p1, :cond_2d

    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

    invoke-virtual {p1}, Landroid/app/Dialog;->isShowing()Z

    move-result p1

    if-eqz p1, :cond_2d

    .line 2103
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->an:Landroid/app/Dialog;

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

    .line 2104
    :cond_2d
    iget p1, p0, Lcom/moji/forum/ui/TopicActivity;->T:I

    if-ne p1, v4, :cond_2e

    .line 2105
    iput v2, p0, Lcom/moji/forum/ui/TopicActivity;->T:I

    .line 2106
    iget p1, p0, Lcom/moji/forum/ui/TopicActivity;->ad:I

    iput p1, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    .line 2107
    iget p1, p0, Lcom/moji/forum/ui/TopicActivity;->ad:I

    iput p1, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    goto :goto_5

    .line 2108
    :cond_2e
    iget p1, p0, Lcom/moji/forum/ui/TopicActivity;->T:I

    if-ne p1, v2, :cond_2f

    .line 2109
    iput v4, p0, Lcom/moji/forum/ui/TopicActivity;->T:I

    .line 2110
    iput v4, p0, Lcom/moji/forum/ui/TopicActivity;->aa:I

    .line 2111
    iput v4, p0, Lcom/moji/forum/ui/TopicActivity;->ab:I

    .line 2113
    :cond_2f
    :goto_5
    iput-boolean v4, p0, Lcom/moji/forum/ui/TopicActivity;->am:Z

    .line 2114
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->q:Lcom/moji/forum/ui/CommentAdapter;

    iget v0, p0, Lcom/moji/forum/ui/TopicActivity;->T:I

    invoke-virtual {p1, v0}, Lcom/moji/forum/ui/CommentAdapter;->b(I)V

    .line 2115
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->p:Landroid/widget/ListView;

    invoke-virtual {p1, v6, v6}, Landroid/widget/ListView;->setSelectionFromTop(II)V

    .line 2116
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->x:Lcom/moji/pulltorefresh/PullToFreshContainer;

    invoke-virtual {p1}, Lcom/moji/pulltorefresh/PullToFreshContainer;->c()V

    goto/16 :goto_a

    .line 2118
    :cond_30
    sget v1, Lcom/moji/forum/R$id;->iv_empty_add_image:I

    if-ne v0, v1, :cond_32

    .line 2119
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->INCERT_PIC_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "2"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 2120
    invoke-static {}, Landroid/os/Environment;->getExternalStorageState()Ljava/lang/String;

    move-result-object p1

    const-string v0, "mounted"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_31

    .line 2121
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->u()V

    goto/16 :goto_a

    .line 2123
    :cond_31
    sget-object p1, Lcom/moji/forum/common/ForumUtil;->a:Landroid/content/Context;

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

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0, v4}, 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

    goto/16 :goto_a

    .line 2126
    :cond_32
    sget v1, Lcom/moji/forum/R$id;->praiseBtn:I

    if-eq v0, v1, :cond_38

    sget v1, Lcom/moji/forum/R$id;->ll_topic_praise:I

    if-ne v0, v1, :cond_33

    goto/16 :goto_6

    .line 2134
    :cond_33
    sget v1, Lcom/moji/forum/R$id;->coterie_name:I

    if-ne v0, v1, :cond_35

    .line 2135
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->POST_PLATENAME_CLICK:Lcom/moji/statistics/EVENT_TAG;

    invoke-virtual {v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;

    .line 2136
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_42

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/moji/http/mqn/entity/Topic;

    if-eqz v0, :cond_42

    .line 2137
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/moji/http/mqn/entity/Topic;

    .line 2138
    iget-wide v0, p1, Lcom/moji/http/mqn/entity/Topic;->square_id:J

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-eqz v4, :cond_34

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

    const-class v1, Lcom/moji/forum/ui/TopicSquareActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "square_id"

    .line 2140
    iget-wide v2, p1, Lcom/moji/http/mqn/entity/Topic;->square_id:J

    invoke-virtual {v0, v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;

    .line 2141
    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_a

    .line 2142
    :cond_34
    iget-object v0, p1, Lcom/moji/http/mqn/entity/Topic;->coterie_id:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_42

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

    const-class v1, Lcom/moji/forum/ui/TopicListActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "coterie_id"

    .line 2144
    iget-object v2, p1, Lcom/moji/http/mqn/entity/Topic;->coterie_id:Ljava/lang/String;

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

    const-string v1, "coterie_name"

    .line 2145
    iget-object p1, p1, Lcom/moji/http/mqn/entity/Topic;->coterie_name:Ljava/lang/String;

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

    .line 2146
    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/TopicActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_a

    .line 2150
    :cond_35
    sget p1, Lcom/moji/forum/R$id;->tv_location:I

    if-ne v0, p1, :cond_36

    .line 2151
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->POST_POSITION_CLICK:Lcom/moji/statistics/EVENT_TAG;

    invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;

    .line 2152
    new-instance p1, Landroid/content/Intent;

    const-class v0, Lcom/moji/forum/ui/CityTopicActivity;

    invoke-direct {p1, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v0, "forum_id"

    .line 2153
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->bh:Ljava/lang/String;

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

    const-string v0, "city_topic_title"

    .line 2154
    iget-object v1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->address:Ljava/lang/String;

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

    const-string v0, "city_topic_from_location"

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

    .line 2156
    invoke-virtual {p0, p1}, Lcom/moji/forum/ui/TopicActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_a

    .line 2157
    :cond_36
    sget p1, Lcom/moji/forum/R$id;->ll_top:I

    if-ne v0, p1, :cond_42

    .line 2159
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-boolean p1, p1, Lcom/moji/http/mqn/entity/Topic;->is_top:Z

    if-eqz p1, :cond_37

    .line 2160
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    invoke-direct {p0, p1}, Lcom/moji/forum/ui/TopicActivity;->c(Ljava/lang/String;)V

    goto/16 :goto_a

    .line 2162
    :cond_37
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    invoke-direct {p0, p1}, Lcom/moji/forum/ui/TopicActivity;->b(Ljava/lang/String;)V

    goto/16 :goto_a

    .line 2127
    :cond_38
    :goto_6
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->POST_GOOD_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "1"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

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

    move-result p1

    if-eqz p1, :cond_39

    .line 2129
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->s()V

    goto/16 :goto_a

    .line 2131
    :cond_39
    invoke-static {p0}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;)V

    goto/16 :goto_a

    .line 2010
    :cond_3a
    :goto_7
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->CMT_INPUT_POST:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "1"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 2011
    invoke-direct {p0, v4}, Lcom/moji/forum/ui/TopicActivity;->a(Z)V

    goto/16 :goto_a

    .line 1916
    :cond_3b
    :goto_8
    iget p1, p0, Lcom/moji/forum/ui/TopicActivity;->be:I

    if-ne p1, v3, :cond_3c

    .line 1917
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->THEME_FOLLOW_BTN_SEND:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "2"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 1918
    :cond_3c
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->FOLLOW_BTN_SEND:Lcom/moji/statistics/EVENT_TAG;

    invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;

    .line 1919
    invoke-static {}, Lcom/moji/tool/DeviceTool;->m()Z

    move-result p1

    if-nez p1, :cond_3d

    .line 1920
    sget p1, Lcom/moji/forum/R$string;->network_exception:I

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

    goto/16 :goto_a

    .line 1921
    :cond_3d
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object p1

    const-string v0, " "

    const-string v1, ""

    invoke-virtual {p1, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/moji/tool/TextUtil;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, v3}, Lcom/moji/tool/TextUtil;->b(Ljava/lang/String;I)Z

    move-result p1

    if-eqz p1, :cond_3e

    .line 1922
    sget p1, Lcom/moji/forum/R$string;->text_too_short:I

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

    goto :goto_a

    .line 1923
    :cond_3e
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    const/16 v0, 0x3e8

    invoke-static {p1, v0}, Lcom/moji/tool/TextUtil;->a(Ljava/lang/String;I)Z

    move-result p1

    if-eqz p1, :cond_3f

    .line 1924
    sget p1, Lcom/moji/forum/R$string;->content_is_too_more:I

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

    goto :goto_a

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

    move-result p1

    if-eqz p1, :cond_41

    .line 1927
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->O:Landroid/widget/RelativeLayout;

    invoke-virtual {p1}, Landroid/widget/RelativeLayout;->getVisibility()I

    move-result p1

    if-nez p1, :cond_40

    .line 1928
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->O:Landroid/widget/RelativeLayout;

    invoke-virtual {p1}, Landroid/widget/RelativeLayout;->getTag()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/Long;

    invoke-virtual {p1}, Ljava/lang/Long;->longValue()J

    move-result-wide v0

    .line 1929
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-direct {p0, v0, v1, p1}, Lcom/moji/forum/ui/TopicActivity;->a(JLjava/lang/String;)V

    goto :goto_9

    :cond_40
    const-wide/16 v0, -0x1

    .line 1931
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-direct {p0, v0, v1, p1}, Lcom/moji/forum/ui/TopicActivity;->a(JLjava/lang/String;)V

    .line 1933
    :goto_9
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->K:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->b()V

    .line 1934
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->I:Landroid/widget/ImageButton;

    sget v0, Lcom/moji/forum/R$drawable;->add_emotion_forum:I

    invoke-virtual {p1, v0}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    goto :goto_a

    .line 1936
    :cond_41
    invoke-static {p0}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;)V

    :catch_0
    :cond_42
    :goto_a
    return-void

    :pswitch_data_0
    .packed-switch 0x64
        :pswitch_2
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch

    :pswitch_data_1
    .packed-switch 0x64
        :pswitch_5
        :pswitch_3
        :pswitch_4
        :pswitch_5
    .end packed-switch
.end method

.method protected onDestroy()V
    .locals 1

    .line 283
    invoke-super {p0}, Lcom/moji/forum/ui/ForumShareBaseActivity;->onDestroy()V

    const/4 v0, 0x1

    .line 284
    iput-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->S:Z

    return-void
.end method

.method public onItemLongClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)Z
    .locals 19
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView<",
            "*>;",
            "Landroid/view/View;",
            "IJ)Z"
        }
    .end annotation

    move-object/from16 v0, p0

    move-wide/from16 v1, p4

    const-wide/16 v3, 0x0

    cmp-long v7, v1, v3

    if-ltz v7, :cond_2

    .line 2552
    :try_start_0
    iget-object v3, v0, Lcom/moji/forum/ui/TopicActivity;->E:Ljava/util/ArrayList;

    long-to-int v1, v1

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/http/mqn/entity/TopicComment;

    if-eqz v1, :cond_3

    .line 2554
    new-instance v2, Landroid/app/Dialog;

    sget v3, Lcom/moji/forum/R$style;->dialog_report:I

    invoke-direct {v2, v0, v3}, Landroid/app/Dialog;-><init>(Landroid/content/Context;I)V

    .line 2555
    invoke-static/range {p0 .. p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v3

    sget v4, Lcom/moji/forum/R$layout;->sns_picture_menu:I

    const/4 v7, 0x0

    invoke-virtual {v3, v4, v7}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v3

    .line 2556
    invoke-virtual {v2, v3}, Landroid/app/Dialog;->setContentView(Landroid/view/View;)V

    .line 2557
    sget v4, Lcom/moji/forum/R$id;->tv_send_comment_like:I

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    .line 2558
    sget v7, Lcom/moji/forum/R$id;->iv_send_comment_like:I

    invoke-virtual {v3, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/ImageView;

    .line 2559
    sget v8, Lcom/moji/forum/R$id;->btn_save_to_sd:I

    invoke-virtual {v3, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/TextView;

    .line 2560
    sget v9, Lcom/moji/forum/R$id;->iv_save_to_sd:I

    invoke-virtual {v3, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/ImageView;

    .line 2561
    sget v10, Lcom/moji/forum/R$id;->btn_report:I

    invoke-virtual {v3, v10}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v10

    check-cast v10, Landroid/widget/TextView;

    .line 2562
    sget v11, Lcom/moji/forum/R$id;->iv_report:I

    invoke-virtual {v3, v11}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v11

    check-cast v11, Landroid/widget/ImageView;

    .line 2563
    sget v12, Lcom/moji/forum/R$id;->btn_delete:I

    invoke-virtual {v3, v12}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v12

    check-cast v12, Landroid/widget/TextView;

    .line 2564
    sget v13, Lcom/moji/forum/R$id;->iv_delete:I

    invoke-virtual {v3, v13}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v13

    check-cast v13, Landroid/widget/ImageView;

    .line 2565
    sget v14, Lcom/moji/forum/R$id;->btn_silenced:I

    invoke-virtual {v3, v14}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v14

    check-cast v14, Landroid/widget/TextView;

    .line 2566
    sget v15, Lcom/moji/forum/R$id;->iv_silenced:I

    invoke-virtual {v3, v15}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v15

    check-cast v15, Landroid/widget/ImageView;

    .line 2567
    sget v5, Lcom/moji/forum/R$id;->btn_cancle:I

    invoke-virtual {v3, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    .line 2568
    sget v6, Lcom/moji/forum/R$id;->btn_gag:I

    invoke-virtual {v3, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    move-object/from16 v16, v2

    .line 2569
    sget v2, Lcom/moji/forum/R$id;->iv_gag:I

    invoke-virtual {v3, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ImageView;

    move-object/from16 v17, v15

    .line 2570
    sget v15, Lcom/moji/forum/R$id;->btn_ungag:I

    invoke-virtual {v3, v15}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v15

    check-cast v15, Landroid/widget/TextView;

    move-object/from16 v18, v14

    .line 2571
    sget v14, Lcom/moji/forum/R$id;->iv_ungag:I

    invoke-virtual {v3, v14}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/ImageView;

    const/16 v14, 0x8

    .line 2573
    invoke-virtual {v4, v14}, Landroid/widget/TextView;->setVisibility(I)V

    .line 2574
    invoke-virtual {v7, v14}, Landroid/widget/ImageView;->setVisibility(I)V

    const/4 v4, 0x0

    .line 2575
    invoke-virtual {v8, v4}, Landroid/widget/TextView;->setVisibility(I)V

    .line 2576
    sget v7, Lcom/moji/forum/R$string;->reply:I

    invoke-virtual {v8, v7}, Landroid/widget/TextView;->setText(I)V

    .line 2577
    invoke-virtual {v9, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 2578
    invoke-virtual {v6, v14}, Landroid/widget/TextView;->setVisibility(I)V

    .line 2579
    invoke-virtual {v2, v14}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 2580
    invoke-virtual {v15, v14}, Landroid/widget/TextView;->setVisibility(I)V

    .line 2581
    invoke-virtual {v3, v14}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 2582
    invoke-virtual {v5, v4}, Landroid/widget/TextView;->setVisibility(I)V

    const-string v2, "lijf"

    .line 2584
    new-instance v3, Ljava/lang/StringBuilder;

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

    const-string v4, "onItemLongClick: "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {}, Lcom/moji/forum/common/ForumUtil;->b()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v4, "  *"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v4, v1, Lcom/moji/http/mqn/entity/TopicComment;->sns_id:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v4, "   **"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {}, Lcom/moji/common/MJProperty;->m()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Lcom/moji/tool/log/MJLogger;->e(Ljava/lang/String;Ljava/lang/String;)V

    .line 2585
    iget-object v2, v1, Lcom/moji/http/mqn/entity/TopicComment;->sns_id:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_0

    iget-object v2, v1, Lcom/moji/http/mqn/entity/TopicComment;->sns_id:Ljava/lang/String;

    invoke-static {}, Lcom/moji/forum/common/ForumUtil;->b()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 2586
    invoke-virtual {v10, v14}, Landroid/widget/TextView;->setVisibility(I)V

    .line 2587
    invoke-virtual {v11, v14}, Landroid/widget/ImageView;->setVisibility(I)V

    const/4 v2, 0x0

    .line 2588
    invoke-virtual {v12, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 2589
    invoke-virtual {v13, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_0

    :cond_0
    const/4 v2, 0x0

    .line 2591
    invoke-virtual {v10, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 2592
    invoke-virtual {v11, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 2593
    invoke-virtual {v12, v14}, Landroid/widget/TextView;->setVisibility(I)V

    .line 2594
    invoke-virtual {v13, v14}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 2595
    sget v2, Lcom/moji/forum/R$string;->report:I

    invoke-virtual {v10, v2}, Landroid/widget/TextView;->setText(I)V

    .line 2597
    :goto_0
    iget-object v2, v0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    if-eqz v2, :cond_1

    iget-object v2, v0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    iget-boolean v2, v2, Lcom/moji/http/mqn/entity/Topic;->is_moderator:Z

    if-eqz v2, :cond_1

    const/4 v2, 0x0

    .line 2598
    invoke-virtual {v12, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 2599
    invoke-virtual {v13, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    move-object/from16 v14, v18

    .line 2600
    invoke-virtual {v14, v2}, Landroid/widget/TextView;->setVisibility(I)V

    move-object/from16 v15, v17

    .line 2601
    invoke-virtual {v15, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_1

    :cond_1
    move-object/from16 v14, v18

    .line 2603
    :goto_1
    new-instance v2, Lcom/moji/forum/ui/TopicActivity$32;

    move-object/from16 v3, v16

    invoke-direct {v2, v0, v3, v1}, Lcom/moji/forum/ui/TopicActivity$32;-><init>(Lcom/moji/forum/ui/TopicActivity;Landroid/app/Dialog;Lcom/moji/http/mqn/entity/TopicComment;)V

    invoke-virtual {v12, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 2611
    new-instance v2, Lcom/moji/forum/ui/TopicActivity$33;

    invoke-direct {v2, v0, v3, v1}, Lcom/moji/forum/ui/TopicActivity$33;-><init>(Lcom/moji/forum/ui/TopicActivity;Landroid/app/Dialog;Lcom/moji/http/mqn/entity/TopicComment;)V

    invoke-virtual {v14, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 2623
    new-instance v2, Lcom/moji/forum/ui/TopicActivity$34;

    invoke-direct {v2, v0, v3, v1}, Lcom/moji/forum/ui/TopicActivity$34;-><init>(Lcom/moji/forum/ui/TopicActivity;Landroid/app/Dialog;Lcom/moji/http/mqn/entity/TopicComment;)V

    invoke-virtual {v10, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 2636
    new-instance v2, Lcom/moji/forum/ui/TopicActivity$35;

    invoke-direct {v2, v0, v3}, Lcom/moji/forum/ui/TopicActivity$35;-><init>(Lcom/moji/forum/ui/TopicActivity;Landroid/app/Dialog;)V

    invoke-virtual {v5, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 2643
    new-instance v2, Lcom/moji/forum/ui/TopicActivity$36;

    invoke-direct {v2, v0, v3, v1}, Lcom/moji/forum/ui/TopicActivity$36;-><init>(Lcom/moji/forum/ui/TopicActivity;Landroid/app/Dialog;Lcom/moji/http/mqn/entity/TopicComment;)V

    invoke-virtual {v8, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 2658
    invoke-virtual {v3}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v1

    invoke-static {}, Lcom/moji/tool/DeviceTool;->b()I

    move-result v2

    int-to-float v2, v2

    const v4, 0x3f3c71c7

    mul-float v2, v2, v4

    float-to-int v2, v2

    iput v2, v1, Landroid/view/WindowManager$LayoutParams;->width:I

    const/4 v1, 0x1

    .line 2659
    invoke-virtual {v3, v1}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    .line 2660
    invoke-virtual {v3}, Landroid/app/Dialog;->show()V

    goto :goto_2

    :cond_2
    const-wide/16 v3, -0x1

    cmp-long v5, v1, v3

    if-nez v5, :cond_3

    .line 2663
    iget-object v1, v0, Lcom/moji/forum/ui/TopicActivity;->A:Lcom/moji/http/mqn/entity/Topic;

    new-instance v2, Lcom/moji/forum/ui/TopicActivity$37;

    invoke-direct {v2, v0}, Lcom/moji/forum/ui/TopicActivity$37;-><init>(Lcom/moji/forum/ui/TopicActivity;)V

    const/4 v3, 0x1

    invoke-static {v0, v1, v3, v2}, Lcom/moji/forum/ui/CommonLongClickDialog;->a(Landroid/content/Context;Lcom/moji/http/mqn/entity/Topic;ZLcom/moji/forum/ui/CommonLongClickDialog$OnLongClickResultListener;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :cond_3
    :goto_2
    const/4 v1, 0x0

    return v1
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 3

    const-string v0, "lijf"

    .line 2815
    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, "onKeyDown = "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    const/4 v0, 0x4

    if-eq p1, v0, :cond_0

    .line 2821
    invoke-super {p0, p1, p2}, Lcom/moji/forum/ui/ForumShareBaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result p1

    return p1

    .line 2818
    :cond_0
    invoke-direct {p0}, Lcom/moji/forum/ui/TopicActivity;->B()V

    .line 2819
    invoke-super {p0, p1, p2}, Lcom/moji/forum/ui/ForumShareBaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result p1

    return p1
.end method

.method protected onPause()V
    .locals 5

    .line 935
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iget-wide v2, p0, Lcom/moji/forum/ui/TopicActivity;->Z:J

    sub-long/2addr v0, v2

    .line 936
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object v2

    sget-object v3, Lcom/moji/statistics/EVENT_TAG;->CIRCLE_POSTDETAIL_STAY_TIME:Lcom/moji/statistics/EVENT_TAG;

    iget-object v4, p0, Lcom/moji/forum/ui/TopicActivity;->o:Ljava/lang/String;

    invoke-virtual {v2, v3, v4, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;J)Lcom/moji/statistics/EventManager;

    .line 937
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->K:Lcom/moji/forum/view/AutoHeightLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/moji/forum/view/AutoHeightLayout;->setListener(Z)V

    .line 938
    invoke-super {p0}, Lcom/moji/forum/ui/ForumShareBaseActivity;->onPause()V

    return-void
.end method

.method protected onResume()V
    .locals 2

    .line 921
    invoke-super {p0}, Lcom/moji/forum/ui/ForumShareBaseActivity;->onResume()V

    .line 922
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/moji/forum/ui/TopicActivity;->Y:J

    .line 923
    iget-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->w:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    .line 924
    iput-boolean v0, p0, Lcom/moji/forum/ui/TopicActivity;->w:Z

    .line 925
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->bd:Lcom/moji/statistics/EventManager;

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->POST_AUTO_REFRESH:Lcom/moji/statistics/EVENT_TAG;

    invoke-virtual {v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;

    .line 926
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->x:Lcom/moji/pulltorefresh/PullToFreshContainer;

    invoke-virtual {v0}, Lcom/moji/pulltorefresh/PullToFreshContainer;->c()V

    .line 928
    :cond_0
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/moji/forum/ui/TopicActivity;->Z:J

    .line 929
    iget-object v0, p0, Lcom/moji/forum/ui/TopicActivity;->K:Lcom/moji/forum/view/AutoHeightLayout;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/moji/forum/view/AutoHeightLayout;->setListener(Z)V

    return-void
.end method

.method protected onStart()V
    .locals 2

    .line 943
    invoke-super {p0}, Lcom/moji/forum/ui/ForumShareBaseActivity;->onStart()V

    .line 944
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/moji/forum/ui/TopicActivity;->Y:J

    return-void
.end method

.method public show(I)V
    .locals 3

    const-string v0, "lijf"

    .line 2291
    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, "show : "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 2292
    iput p1, p0, Lcom/moji/forum/ui/TopicActivity;->mChildViewPosition:I

    const/16 v0, 0x8

    const/4 v1, 0x0

    packed-switch p1, :pswitch_data_0

    goto :goto_0

    .line 2300
    :pswitch_0
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ar:Landroid/widget/RelativeLayout;

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

    .line 2301
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->F:Lcom/moji/emotion/EmotionFragment;

    invoke-virtual {p1, v0}, Lcom/moji/emotion/EmotionFragment;->a(I)V

    .line 2302
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ap:Landroid/widget/LinearLayout;

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

    goto :goto_0

    .line 2295
    :pswitch_1
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ar:Landroid/widget/RelativeLayout;

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

    .line 2296
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->F:Lcom/moji/emotion/EmotionFragment;

    invoke-virtual {p1, v1}, Lcom/moji/emotion/EmotionFragment;->a(I)V

    .line 2297
    iget-object p1, p0, Lcom/moji/forum/ui/TopicActivity;->ap:Landroid/widget/LinearLayout;

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

    :goto_0
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
