.class public Lcom/moji/forum/ui/MyCommentListFragment;
.super Lcom/moji/forum/ui/BaseTopicListFragment;
.source "MyCommentListFragment.java"


# direct methods
.method public constructor <init>()V
    .locals 0

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

    return-void
.end method


# virtual methods
.method protected a(Ljava/util/HashMap;Lcom/moji/requestcore/MJHttpCallback;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;",
            "Lcom/moji/requestcore/MJHttpCallback;",
            ")V"
        }
    .end annotation

    .line 52
    new-instance v0, Lcom/moji/http/mqn/GetMyCommentRequest;

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

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

    return-void
.end method

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

    .line 27
    :try_start_0
    iget-boolean v0, p0, Lcom/moji/forum/ui/MyCommentListFragment;->p:Z

    if-eqz v0, :cond_0

    const-string v0, "sns_id"

    .line 28
    iget-object v1, p0, Lcom/moji/forum/ui/MyCommentListFragment;->o:Ljava/lang/String;

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

    goto :goto_0

    :cond_0
    const-string v0, "sns_id"

    .line 30
    invoke-static {}, Lcom/moji/forum/common/ForumUtil;->b()Ljava/lang/String;

    move-result-object v1

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

    :goto_0
    const-string v0, "page_length"

    .line 32
    iget v1, p0, Lcom/moji/forum/ui/MyCommentListFragment;->i:I

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

    move-result-object v1

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

    const-string v0, "type"

    const-string v1, "1"

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

    if-eqz p1, :cond_1

    const-string p1, "page_cursor"

    const-string v0, ""

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

    const-string p1, "page_past"

    const-string v0, "0"

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

    goto :goto_1

    .line 38
    :cond_1
    iget-object p1, p0, Lcom/moji/forum/ui/MyCommentListFragment;->r:Landroid/widget/TextView;

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

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

    .line 39
    iget-object p1, p0, Lcom/moji/forum/ui/MyCommentListFragment;->s:Landroid/widget/ProgressBar;

    const/4 v0, 0x0

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

    const-string p1, "page_cursor"

    .line 40
    iget-object v0, p0, Lcom/moji/forum/ui/MyCommentListFragment;->j:Ljava/lang/String;

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

    const-string p1, "page_past"

    const-string v0, "1"

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

    .line 42
    iget p1, p0, Lcom/moji/forum/ui/MyCommentListFragment;->q:I

    add-int/lit8 p1, p1, 0x1

    iput p1, p0, Lcom/moji/forum/ui/MyCommentListFragment;->q:I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception p1

    const-string p2, "MyCommentListFragment"

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

    :goto_1
    return-void
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2

    const-wide/16 v0, 0x5

    .line 20
    iput-wide v0, p0, Lcom/moji/forum/ui/MyCommentListFragment;->h:J

    .line 21
    invoke-super {p0, p1, p2, p3}, Lcom/moji/forum/ui/BaseTopicListFragment;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;

    move-result-object p1

    return-object p1
.end method
