.class public Lcom/moji/forum/ui/PostListFragment;
.super Lcom/moji/forum/base/ForumBaseFragment;
.source "PostListFragment.java"

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


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/forum/ui/PostListFragment$OnRefreshListener;
    }
.end annotation


# static fields
.field private static final i:Ljava/lang/String; = "PostListFragment"


# instance fields
.field protected c:Lcom/moji/forum/view/InListListView;

.field protected d:Lcom/moji/GridViewWithHeaderAndFooter;

.field public e:Lcom/moji/forum/ui/PostListFragment$OnRefreshListener;

.field protected f:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/mqn/entity/TopicList$Topic;",
            ">;"
        }
    .end annotation
.end field

.field protected g:Lcom/moji/forum/ui/TopicAdapter;

.field protected h:Landroid/support/v4/app/FragmentActivity;

.field private j:Z

.field private k:I

.field private l:Z

.field private m:Landroid/widget/LinearLayout;

.field private n:Landroid/widget/TextView;

.field private o:Landroid/widget/ProgressBar;

.field private p:I


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

    return-void
.end method

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

    .line 37
    invoke-direct {p0}, Lcom/moji/forum/base/ForumBaseFragment;-><init>()V

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

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

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

    const/4 v0, 0x0

    .line 46
    iput-boolean v0, p0, Lcom/moji/forum/ui/PostListFragment;->j:Z

    const/4 v0, 0x1

    .line 47
    iput v0, p0, Lcom/moji/forum/ui/PostListFragment;->k:I

    return-void
.end method

.method public static a(ILcom/moji/forum/ui/PostListFragment$OnRefreshListener;)Lcom/moji/forum/ui/PostListFragment;
    .locals 2

    .line 56
    new-instance v0, Lcom/moji/forum/ui/PostListFragment;

    invoke-direct {v0}, Lcom/moji/forum/ui/PostListFragment;-><init>()V

    .line 57
    invoke-virtual {v0, p1}, Lcom/moji/forum/ui/PostListFragment;->b(Lcom/moji/forum/ui/PostListFragment$OnRefreshListener;)V

    .line 58
    new-instance p1, Landroid/os/Bundle;

    invoke-direct {p1}, Landroid/os/Bundle;-><init>()V

    const-string v1, "topic_type"

    .line 59
    invoke-virtual {p1, v1, p0}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 60
    invoke-virtual {v0, p1}, Lcom/moji/forum/ui/PostListFragment;->setArguments(Landroid/os/Bundle;)V

    return-object v0
.end method

.method private a()V
    .locals 3

    .line 115
    iget-object v0, p0, Lcom/moji/forum/ui/PostListFragment;->m:Landroid/widget/LinearLayout;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/moji/forum/ui/PostListFragment;->n:Landroid/widget/TextView;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/moji/forum/ui/PostListFragment;->o:Landroid/widget/ProgressBar;

    if-nez v0, :cond_0

    goto :goto_0

    .line 118
    :cond_0
    iget-object v0, p0, Lcom/moji/forum/ui/PostListFragment;->m:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

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

    .line 119
    iget-object v0, p0, Lcom/moji/forum/ui/PostListFragment;->n:Landroid/widget/TextView;

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

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    .line 120
    iget-object v0, p0, Lcom/moji/forum/ui/PostListFragment;->o:Landroid/widget/ProgressBar;

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

    return-void

    :cond_1
    :goto_0
    return-void
.end method

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

    .line 37
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/PostListFragment;->b(I)V

    return-void
.end method

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

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

    return-void
.end method

.method private a(Z)V
    .locals 6

    const/4 v0, 0x1

    .line 134
    iput-boolean v0, p0, Lcom/moji/forum/ui/PostListFragment;->j:Z

    if-eqz p1, :cond_0

    .line 135
    iput v0, p0, Lcom/moji/forum/ui/PostListFragment;->k:I

    .line 136
    :cond_0
    invoke-direct {p0}, Lcom/moji/forum/ui/PostListFragment;->a()V

    const/4 v0, 0x0

    .line 140
    :try_start_0
    iget v1, p0, Lcom/moji/forum/ui/PostListFragment;->k:I

    const/4 v2, 0x3

    if-ge v1, v2, :cond_1

    iget v2, p0, Lcom/moji/forum/ui/PostListFragment;->k:I

    .line 141
    :cond_1
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_1

    :try_start_1
    const-string v0, "property1"

    .line 142
    invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    move-object v0, v1

    goto :goto_1

    :catch_0
    move-exception v0

    move-object v5, v1

    move-object v1, v0

    move-object v0, v5

    goto :goto_0

    :catch_1
    move-exception v1

    .line 144
    :goto_0
    sget-object v2, Lcom/moji/forum/ui/PostListFragment;->i:Ljava/lang/String;

    invoke-static {v2, v1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 147
    :goto_1
    iget v1, p0, Lcom/moji/forum/ui/PostListFragment;->p:I

    packed-switch v1, :pswitch_data_0

    const-string v1, "0"

    goto :goto_2

    :pswitch_0
    const-string v1, "5"

    goto :goto_2

    :pswitch_1
    const-string v1, "4"

    goto :goto_2

    :pswitch_2
    const-string v1, "3"

    :goto_2
    if-eqz v0, :cond_2

    .line 162
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object v2

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

    invoke-virtual {v2, v3, v1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;Lorg/json/JSONObject;)Lcom/moji/statistics/EventManager;

    .line 165
    :cond_2
    new-instance v0, Lcom/moji/http/mqn/TopicListRequest;

    iget v1, p0, Lcom/moji/forum/ui/PostListFragment;->k:I

    const/4 v2, 0x4

    invoke-static {}, Lcom/moji/forum/common/ForumUtil;->c()I

    move-result v3

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

    move-result-object v3

    iget v4, p0, Lcom/moji/forum/ui/PostListFragment;->p:I

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/moji/http/mqn/TopicListRequest;-><init>(IILjava/lang/String;I)V

    new-instance v1, Lcom/moji/forum/ui/PostListFragment$3;

    invoke-direct {v1, p0, p1}, Lcom/moji/forum/ui/PostListFragment$3;-><init>(Lcom/moji/forum/ui/PostListFragment;Z)V

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

    return-void

    nop

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

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

    .line 37
    iget-boolean p0, p0, Lcom/moji/forum/ui/PostListFragment;->j:Z

    return p0
.end method

.method private b(I)V
    .locals 2
    .param p1    # I
        .annotation build Landroid/support/annotation/StringRes;
        .end annotation
    .end param

    .line 124
    iget-object v0, p0, Lcom/moji/forum/ui/PostListFragment;->m:Landroid/widget/LinearLayout;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/moji/forum/ui/PostListFragment;->n:Landroid/widget/TextView;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/moji/forum/ui/PostListFragment;->o:Landroid/widget/ProgressBar;

    if-nez v0, :cond_0

    goto :goto_0

    .line 127
    :cond_0
    iget-object v0, p0, Lcom/moji/forum/ui/PostListFragment;->m:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

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

    .line 128
    iget-object v0, p0, Lcom/moji/forum/ui/PostListFragment;->n:Landroid/widget/TextView;

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

    .line 129
    iget-object p1, p0, Lcom/moji/forum/ui/PostListFragment;->o:Landroid/widget/ProgressBar;

    const/16 v0, 0x8

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

    return-void

    :cond_1
    :goto_0
    return-void
.end method

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

    .line 37
    iget-boolean p0, p0, Lcom/moji/forum/ui/PostListFragment;->l:Z

    return p0
.end method

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

    .line 37
    iput-boolean p1, p0, Lcom/moji/forum/ui/PostListFragment;->l:Z

    return p1
.end method

.method static synthetic c(Lcom/moji/forum/ui/PostListFragment;)Z
    .locals 0

    .line 37
    iget-boolean p0, p0, Lcom/moji/forum/ui/PostListFragment;->b:Z

    return p0
.end method

.method static synthetic c(Lcom/moji/forum/ui/PostListFragment;Z)Z
    .locals 0

    .line 37
    iput-boolean p1, p0, Lcom/moji/forum/ui/PostListFragment;->j:Z

    return p1
.end method

.method static synthetic d(Lcom/moji/forum/ui/PostListFragment;)I
    .locals 2

    .line 37
    iget v0, p0, Lcom/moji/forum/ui/PostListFragment;->k:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/moji/forum/ui/PostListFragment;->k:I

    return v0
.end method

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

    .line 37
    iget p0, p0, Lcom/moji/forum/ui/PostListFragment;->p:I

    return p0
.end method


# virtual methods
.method public a(I)Landroid/widget/AbsListView;
    .locals 1

    const/4 v0, 0x3

    if-ne p1, v0, :cond_0

    .line 225
    iget-object p1, p0, Lcom/moji/forum/ui/PostListFragment;->d:Lcom/moji/GridViewWithHeaderAndFooter;

    goto :goto_0

    :cond_0
    iget-object p1, p0, Lcom/moji/forum/ui/PostListFragment;->c:Lcom/moji/forum/view/InListListView;

    :goto_0
    return-object p1
.end method

.method protected a(Lcom/moji/forum/ui/PostListFragment$OnRefreshListener;)V
    .locals 0

    const/4 p1, 0x1

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

    return-void
.end method

.method public a(Lcom/moji/http/mqn/entity/TopicList$Topic;)V
    .locals 3

    .line 245
    sget-object v0, Lcom/moji/forum/ui/PostListFragment;->i:Ljava/lang/String;

    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, "onTagClickListener:"

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

    iget-object p1, p1, Lcom/moji/http/mqn/entity/TopicList$Topic;->tag_name:Ljava/lang/String;

    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-static {v0, p1}, Lcom/moji/tool/log/MJLogger;->e(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public a(Lcom/moji/http/mqn/entity/TopicList$Topic;I)V
    .locals 1

    .line 260
    iget-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->h:Landroid/support/v4/app/FragmentActivity;

    const/4 v0, 0x1

    invoke-static {p2, p1, v0}, Lcom/moji/forum/ui/TopicActivity;->startMe(Landroid/content/Context;Lcom/moji/http/mqn/entity/TopicList$Topic;Z)V

    return-void
.end method

.method protected b(Lcom/moji/forum/ui/PostListFragment$OnRefreshListener;)V
    .locals 0

    .line 212
    iput-object p1, p0, Lcom/moji/forum/ui/PostListFragment;->e:Lcom/moji/forum/ui/PostListFragment$OnRefreshListener;

    return-void
.end method

.method public b(Lcom/moji/http/mqn/entity/TopicList$Topic;)V
    .locals 2

    .line 250
    iget-object v0, p0, Lcom/moji/forum/ui/PostListFragment;->h:Landroid/support/v4/app/FragmentActivity;

    const/4 v1, 0x0

    invoke-static {v0, p1, v1, p0}, Lcom/moji/forum/ui/CommonLongClickDialog;->a(Landroid/content/Context;Lcom/moji/http/mqn/entity/TopicList$Topic;ZLcom/moji/forum/ui/CommonLongClickDialog$OnLongClickResultListener;)V

    return-void
.end method

.method public c(Lcom/moji/http/mqn/entity/TopicList$Topic;)V
    .locals 0

    return-void
.end method

.method public c()Z
    .locals 3

    .line 229
    iget-object v0, p0, Lcom/moji/forum/ui/PostListFragment;->c:Lcom/moji/forum/view/InListListView;

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return v1

    .line 232
    :cond_0
    iget-object v0, p0, Lcom/moji/forum/ui/PostListFragment;->c:Lcom/moji/forum/view/InListListView;

    invoke-virtual {v0, v1}, Lcom/moji/forum/view/InListListView;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    .line 233
    iget-object v2, p0, Lcom/moji/forum/ui/PostListFragment;->c:Lcom/moji/forum/view/InListListView;

    invoke-virtual {v2}, Lcom/moji/forum/view/InListListView;->getFirstVisiblePosition()I

    move-result v2

    if-nez v2, :cond_1

    if-eqz v0, :cond_1

    .line 234
    invoke-virtual {v0}, Landroid/view/View;->getTop()I

    move-result v0

    if-ltz v0, :cond_1

    const/4 v0, 0x1

    return v0

    :cond_1
    return v1
.end method

.method public d(Lcom/moji/http/mqn/entity/TopicList$Topic;)Z
    .locals 0

    const/4 p1, 0x0

    return p1
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2
    .param p2    # Landroid/view/ViewGroup;
        .annotation build Landroid/support/annotation/Nullable;
        .end annotation
    .end param
    .param p3    # Landroid/os/Bundle;
        .annotation build Landroid/support/annotation/Nullable;
        .end annotation
    .end param
    .annotation build Landroid/support/annotation/Nullable;
    .end annotation

    .line 67
    invoke-virtual {p0}, Lcom/moji/forum/ui/PostListFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object p3

    iput-object p3, p0, Lcom/moji/forum/ui/PostListFragment;->h:Landroid/support/v4/app/FragmentActivity;

    .line 68
    invoke-virtual {p0}, Lcom/moji/forum/ui/PostListFragment;->getArguments()Landroid/os/Bundle;

    move-result-object p3

    const-string v0, "topic_type"

    const/4 v1, 0x3

    .line 69
    invoke-virtual {p3, v0, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I

    move-result p3

    iput p3, p0, Lcom/moji/forum/ui/PostListFragment;->p:I

    .line 70
    sget p3, Lcom/moji/forum/R$layout;->fragment_item_list:I

    const/4 v0, 0x0

    invoke-virtual {p1, p3, p2, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    .line 71
    new-instance p2, Lcom/moji/forum/ui/TopicAdapter;

    iget-object p3, p0, Lcom/moji/forum/ui/PostListFragment;->h:Landroid/support/v4/app/FragmentActivity;

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

    invoke-direct {p2, p3, v1}, Lcom/moji/forum/ui/TopicAdapter;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->g:Lcom/moji/forum/ui/TopicAdapter;

    .line 72
    sget p2, Lcom/moji/forum/R$id;->list:I

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

    move-result-object p2

    check-cast p2, Lcom/moji/forum/view/InListListView;

    iput-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->c:Lcom/moji/forum/view/InListListView;

    .line 73
    iget-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->c:Lcom/moji/forum/view/InListListView;

    const/4 p3, 0x0

    invoke-virtual {p2, p3}, Lcom/moji/forum/view/InListListView;->setDivider(Landroid/graphics/drawable/Drawable;)V

    .line 74
    iget-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->c:Lcom/moji/forum/view/InListListView;

    invoke-virtual {p2, v0}, Lcom/moji/forum/view/InListListView;->setDividerHeight(I)V

    .line 75
    iget-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->c:Lcom/moji/forum/view/InListListView;

    sget v0, Lcom/moji/forum/R$color;->transparent:I

    invoke-virtual {p2, v0}, Lcom/moji/forum/view/InListListView;->setSelector(I)V

    .line 78
    iget-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->h:Landroid/support/v4/app/FragmentActivity;

    invoke-static {p2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p2

    sget v0, Lcom/moji/forum/R$layout;->bottom_loading_more:I

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

    move-result-object p2

    check-cast p2, Landroid/widget/LinearLayout;

    iput-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->m:Landroid/widget/LinearLayout;

    .line 79
    iget-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->m:Landroid/widget/LinearLayout;

    sget p3, Lcom/moji/forum/R$id;->tv_loading_info:I

    invoke-virtual {p2, p3}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/TextView;

    iput-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->n:Landroid/widget/TextView;

    .line 80
    iget-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->m:Landroid/widget/LinearLayout;

    sget p3, Lcom/moji/forum/R$id;->pb_loading_info:I

    invoke-virtual {p2, p3}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/ProgressBar;

    iput-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->o:Landroid/widget/ProgressBar;

    .line 81
    iget-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->c:Lcom/moji/forum/view/InListListView;

    iget-object p3, p0, Lcom/moji/forum/ui/PostListFragment;->m:Landroid/widget/LinearLayout;

    invoke-virtual {p2, p3}, Lcom/moji/forum/view/InListListView;->addFooterView(Landroid/view/View;)V

    .line 82
    iget-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->c:Lcom/moji/forum/view/InListListView;

    iget-object p3, p0, Lcom/moji/forum/ui/PostListFragment;->g:Lcom/moji/forum/ui/TopicAdapter;

    invoke-virtual {p2, p3}, Lcom/moji/forum/view/InListListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 84
    iget-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->c:Lcom/moji/forum/view/InListListView;

    new-instance p3, Lcom/moji/forum/ui/PostListFragment$1;

    invoke-direct {p3, p0}, Lcom/moji/forum/ui/PostListFragment$1;-><init>(Lcom/moji/forum/ui/PostListFragment;)V

    invoke-virtual {p2, p3}, Lcom/moji/forum/view/InListListView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    const-string p2, "lijff"

    .line 93
    new-instance p3, Ljava/lang/StringBuilder;

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

    const-string v0, "onCreateView:"

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

    iget v0, p0, Lcom/moji/forum/ui/PostListFragment;->p:I

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

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

    move-result-object p3

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

    .line 95
    iget-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->c:Lcom/moji/forum/view/InListListView;

    new-instance p3, Lcom/moji/forum/ui/PostListFragment$2;

    invoke-direct {p3, p0}, Lcom/moji/forum/ui/PostListFragment$2;-><init>(Lcom/moji/forum/ui/PostListFragment;)V

    invoke-virtual {p2, p3}, Lcom/moji/forum/view/InListListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    .line 109
    iget-object p2, p0, Lcom/moji/forum/ui/PostListFragment;->g:Lcom/moji/forum/ui/TopicAdapter;

    invoke-virtual {p2, p0}, Lcom/moji/forum/ui/TopicAdapter;->a(Lcom/moji/forum/ui/TopicAdapter$OnTopicListener;)V

    const/4 p2, 0x1

    .line 110
    invoke-direct {p0, p2}, Lcom/moji/forum/ui/PostListFragment;->a(Z)V

    return-object p1
.end method

.method public onDeleteSuccessListener(Ljava/lang/String;)V
    .locals 2

    .line 291
    iget-object v0, p0, Lcom/moji/forum/ui/PostListFragment;->f:Ljava/util/ArrayList;

    if-nez v0, :cond_0

    return-void

    :cond_0
    const/4 v0, 0x0

    .line 293
    :goto_0
    iget-object v1, p0, Lcom/moji/forum/ui/PostListFragment;->f:Ljava/util/ArrayList;

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

    move-result v1

    if-ge v0, v1, :cond_2

    .line 294
    iget-object v1, p0, Lcom/moji/forum/ui/PostListFragment;->f: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/TopicList$Topic;

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

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

    move-result v1

    if-eqz v1, :cond_1

    .line 295
    iget-object p1, p0, Lcom/moji/forum/ui/PostListFragment;->f:Ljava/util/ArrayList;

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

    goto :goto_1

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

    goto :goto_0

    .line 299
    :cond_2
    :goto_1
    iget-object p1, p0, Lcom/moji/forum/ui/PostListFragment;->g:Lcom/moji/forum/ui/TopicAdapter;

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

    return-void
.end method

.method public onDestroy()V
    .locals 0

    .line 208
    invoke-super {p0}, Lcom/moji/forum/base/ForumBaseFragment;->onDestroy()V

    return-void
.end method

.method public onReply()V
    .locals 0

    return-void
.end method
