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


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

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

    return-void
.end method


# virtual methods
.method protected a(Lcom/moji/http/mqn/entity/TopicList$Topic;)Z
    .locals 4

    .line 19
    iget-wide v0, p1, Lcom/moji/http/mqn/entity/TopicList$Topic;->create_time:J

    iget-wide v2, p0, Lcom/moji/forum/ui/HotTopicListFragment;->u:J

    cmp-long p1, v0, v2

    if-gez p1, :cond_0

    const/4 p1, 0x1

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    return p1
.end method

.method protected d()Lcom/moji/forum/ui/TopicListAdapter;
    .locals 4

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

    move-result-object v0

    instance-of v0, v0, Lcom/moji/forum/ui/TopicListActivity;

    if-eqz v0, :cond_0

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

    move-result-object v0

    check-cast v0, Lcom/moji/forum/ui/TopicListActivity;

    iget-boolean v0, v0, Lcom/moji/forum/ui/TopicListActivity;->mIsCityTopic:Z

    if-eqz v0, :cond_0

    .line 25
    new-instance v0, Lcom/moji/forum/ui/TopicListAdapter;

    iget-object v1, p0, Lcom/moji/forum/ui/HotTopicListFragment;->d:Ljava/util/List;

    iget-object v2, p0, Lcom/moji/forum/ui/HotTopicListFragment;->e:Ljava/util/List;

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

    move-result-object v3

    invoke-direct {v0, v1, v2, v3}, Lcom/moji/forum/ui/TopicListAdapter;-><init>(Ljava/util/List;Ljava/util/List;Landroid/content/Context;)V

    return-object v0

    .line 27
    :cond_0
    invoke-super {p0}, Lcom/moji/forum/ui/BaseTopicListFragment;->d()Lcom/moji/forum/ui/TopicListAdapter;

    move-result-object v0

    return-object v0
.end method

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

    const-wide/16 v0, 0x4

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

    .line 14
    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
