.class public Lcom/moji/forum/ui/CelebrityActivityAdapter;
.super Landroid/widget/BaseExpandableListAdapter;
.source "CelebrityActivityAdapter.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;,
        Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;
    }
.end annotation


# instance fields
.field private final a:Lcom/moji/forum/ui/CelebrityActivity;

.field private final b:I

.field private final c:I

.field private final d:I

.field private final e:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/mqn/entity/CelebrityInfo$User;",
            ">;"
        }
    .end annotation
.end field

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

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

.field private h:Lcom/moji/http/mqn/entity/CelebrityInfo;


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

    .line 36
    invoke-direct {p0}, Landroid/widget/BaseExpandableListAdapter;-><init>()V

    .line 37
    iput-object p1, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a:Lcom/moji/forum/ui/CelebrityActivity;

    const-string p1, "#ffff8200"

    .line 44
    invoke-static {p1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result p1

    iput p1, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->b:I

    const-string p1, "#1094ed"

    .line 45
    invoke-static {p1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result p1

    iput p1, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->c:I

    const-string p1, "#ff8200"

    .line 46
    invoke-static {p1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result p1

    iput p1, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->d:I

    .line 48
    new-instance p1, Ljava/util/ArrayList;

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

    iput-object p1, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->g:Ljava/util/ArrayList;

    .line 49
    new-instance p1, Ljava/util/ArrayList;

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

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

    .line 50
    new-instance p1, Ljava/util/ArrayList;

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

    iput-object p1, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->e:Ljava/util/ArrayList;

    return-void
.end method

.method private a(Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;I)V
    .locals 2

    const/4 v0, 0x0

    const/16 v1, 0x8

    if-nez p2, :cond_0

    .line 249
    iget-object p2, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->a:Landroid/widget/TextView;

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

    .line 250
    iget-object p2, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->c:Landroid/widget/TextView;

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

    .line 251
    iget-object p2, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->d:Landroid/widget/TextView;

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

    .line 252
    iget-object p2, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->j:Landroid/widget/TextView;

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

    .line 253
    iget-object p1, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->h:Landroid/widget/TextView;

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

    goto :goto_0

    .line 255
    :cond_0
    iget-object p2, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->a:Landroid/widget/TextView;

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

    .line 256
    iget-object p2, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->c:Landroid/widget/TextView;

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

    .line 257
    iget-object p2, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->d:Landroid/widget/TextView;

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

    .line 258
    iget-object p2, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->j:Landroid/widget/TextView;

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

    .line 259
    iget-object p1, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->h:Landroid/widget/TextView;

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

    :goto_0
    return-void
.end method

.method private a(Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;I)V
    .locals 2

    if-nez p2, :cond_0

    .line 138
    iget-object p2, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;->a:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a:Lcom/moji/forum/ui/CelebrityActivity;

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

    invoke-virtual {v0, v1}, Lcom/moji/forum/ui/CelebrityActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

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

    .line 139
    iget-object p2, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;->b:Landroid/view/View;

    iget v0, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->c:I

    invoke-virtual {p2, v0}, Landroid/view/View;->setBackgroundColor(I)V

    .line 140
    iget-object p1, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;->a:Landroid/widget/TextView;

    iget p2, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->c:I

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

    goto :goto_0

    .line 142
    :cond_0
    iget-object p2, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;->a:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a:Lcom/moji/forum/ui/CelebrityActivity;

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

    invoke-virtual {v0, v1}, Lcom/moji/forum/ui/CelebrityActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

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

    .line 143
    iget-object p2, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;->b:Landroid/view/View;

    iget v0, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->d:I

    invoke-virtual {p2, v0}, Landroid/view/View;->setBackgroundColor(I)V

    .line 144
    iget-object p1, p1, Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;->a:Landroid/widget/TextView;

    iget p2, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->d:I

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

    :goto_0
    return-void
.end method


# virtual methods
.method public a(II)Lcom/moji/http/mqn/entity/CelebrityInfo$User;
    .locals 2

    .line 149
    invoke-virtual {p0}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->getGroupCount()I

    move-result v0

    const/4 v1, 0x2

    if-ne v0, v1, :cond_1

    if-nez p1, :cond_0

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

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

    move-result-object p1

    check-cast p1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;

    return-object p1

    :cond_0
    const/4 v0, 0x1

    if-ne p1, v0, :cond_1

    .line 153
    iget-object p1, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->g:Ljava/util/ArrayList;

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

    move-result-object p1

    check-cast p1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;

    return-object p1

    .line 156
    :cond_1
    iget-object p1, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->e:Ljava/util/ArrayList;

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

    move-result-object p1

    check-cast p1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;

    return-object p1
.end method

.method public a(ILandroid/widget/ImageView;)V
    .locals 1

    const/4 v0, 0x1

    if-ne p1, v0, :cond_0

    .line 61
    sget p1, Lcom/moji/forum/R$drawable;->has_attention_selector:I

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

    goto :goto_0

    :cond_0
    const/4 v0, 0x2

    if-ne p1, v0, :cond_1

    .line 63
    sget p1, Lcom/moji/forum/R$drawable;->attention_each_other_selector:I

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

    goto :goto_0

    .line 65
    :cond_1
    sget p1, Lcom/moji/forum/R$drawable;->attention_selector:I

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

    :goto_0
    return-void
.end method

.method public a(Lcom/moji/http/mqn/entity/CelebrityInfo;)V
    .locals 2

    if-nez p1, :cond_0

    return-void

    .line 74
    :cond_0
    iput-object p1, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->h:Lcom/moji/http/mqn/entity/CelebrityInfo;

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

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

    .line 76
    iget-object v0, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->g:Ljava/util/ArrayList;

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

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

    iget-object v1, p1, Lcom/moji/http/mqn/entity/CelebrityInfo;->mo_list:Ljava/util/ArrayList;

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

    .line 78
    iget-object v0, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->g:Ljava/util/ArrayList;

    iget-object v1, p1, Lcom/moji/http/mqn/entity/CelebrityInfo;->ma_list:Ljava/util/ArrayList;

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

    .line 79
    iget-object v0, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->e:Ljava/util/ArrayList;

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

    .line 80
    iget-object v0, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->e:Ljava/util/ArrayList;

    iget-object v1, p1, Lcom/moji/http/mqn/entity/CelebrityInfo;->mo_list:Ljava/util/ArrayList;

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

    .line 81
    iget-object v0, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->e:Ljava/util/ArrayList;

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

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

    .line 83
    invoke-virtual {p0}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->notifyDataSetChanged()V

    return-void
.end method

.method public getChild(II)Ljava/lang/Object;
    .locals 0

    const/4 p1, 0x0

    return-object p1
.end method

.method public getChildId(II)J
    .locals 0

    const-wide/16 p1, 0x0

    return-wide p1
.end method

.method public getChildView(IIZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 7

    const/4 v0, 0x0

    if-nez p4, :cond_0

    .line 164
    iget-object p4, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a:Lcom/moji/forum/ui/CelebrityActivity;

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

    move-result-object p4

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

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

    move-result-object p4

    .line 165
    new-instance p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;

    const/4 v1, 0x0

    invoke-direct {p5, v1}, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;-><init>(Lcom/moji/forum/ui/CelebrityActivityAdapter$1;)V

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

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

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->a:Landroid/widget/TextView;

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

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

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->b:Landroid/widget/TextView;

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

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

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->c:Landroid/widget/TextView;

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

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

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->d:Landroid/widget/TextView;

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

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

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->j:Landroid/widget/TextView;

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

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

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->e:Landroid/widget/ImageView;

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

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

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->f:Landroid/widget/ImageView;

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

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

    move-result-object v1

    iput-object v1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->g:Landroid/view/View;

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

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

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->h:Landroid/widget/TextView;

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

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

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->i:Landroid/widget/ImageView;

    .line 176
    invoke-virtual {p4, p5}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    goto :goto_0

    .line 178
    :cond_0
    invoke-virtual {p4}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object p5

    check-cast p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;

    .line 182
    :goto_0
    invoke-virtual {p0, p1, p2}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a(II)Lcom/moji/http/mqn/entity/CelebrityInfo$User;

    move-result-object v1

    .line 185
    iget-object v2, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->e:Landroid/widget/ImageView;

    iget-object v3, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a:Lcom/moji/forum/ui/CelebrityActivity;

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

    .line 186
    iget-object v2, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->e:Landroid/widget/ImageView;

    invoke-virtual {v2, v1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    .line 187
    iget-object v2, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->a:Landroid/widget/TextView;

    const/4 v3, 0x1

    add-int/2addr p2, v3

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

    move-result-object p2

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

    .line 188
    iget-object p2, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->b:Landroid/widget/TextView;

    iget-object v2, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->nick:Ljava/lang/String;

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

    .line 189
    iget-object p2, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->rank_name:Ljava/lang/String;

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

    move-result p2

    if-nez p2, :cond_1

    .line 190
    iget-object p2, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->h:Landroid/widget/TextView;

    iget-object v2, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->rank_name:Ljava/lang/String;

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

    goto :goto_2

    .line 192
    :cond_1
    iget-object p2, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->h:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a:Lcom/moji/forum/ui/CelebrityActivity;

    sget v4, Lcom/moji/forum/R$string;->moderator:I

    new-array v5, v3, [Ljava/lang/Object;

    iget-object v6, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->h:Lcom/moji/http/mqn/entity/CelebrityInfo;

    if-nez v6, :cond_2

    const-string v6, ""

    goto :goto_1

    :cond_2
    iget-object v6, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->h:Lcom/moji/http/mqn/entity/CelebrityInfo;

    iget-object v6, v6, Lcom/moji/http/mqn/entity/CelebrityInfo;->name:Ljava/lang/String;

    :goto_1
    aput-object v6, v5, v0

    invoke-virtual {v2, v4, v5}, Lcom/moji/forum/ui/CelebrityActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

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

    .line 194
    :goto_2
    iget-object p2, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->c:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a:Lcom/moji/forum/ui/CelebrityActivity;

    sget v4, Lcom/moji/forum/R$string;->hot_nums:I

    new-array v5, v3, [Ljava/lang/Object;

    iget-object v6, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->hot_num:Ljava/lang/String;

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

    move-result v6

    if-eqz v6, :cond_3

    const-string v6, "0"

    goto :goto_3

    :cond_3
    iget-object v6, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->hot_num:Ljava/lang/String;

    :goto_3
    aput-object v6, v5, v0

    invoke-virtual {v2, v4, v5}, Lcom/moji/forum/ui/CelebrityActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    iget v4, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->b:I

    invoke-static {v2, v4}, Lcom/moji/forum/common/ForumUtil;->a(Ljava/lang/String;I)Landroid/text/Spanned;

    move-result-object v2

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

    .line 195
    iget-object p2, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->d:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a:Lcom/moji/forum/ui/CelebrityActivity;

    sget v4, Lcom/moji/forum/R$string;->nice_nums:I

    new-array v5, v3, [Ljava/lang/Object;

    iget-object v6, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->cream_num:Ljava/lang/String;

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

    move-result v6

    if-eqz v6, :cond_4

    const-string v6, "0"

    goto :goto_4

    :cond_4
    iget-object v6, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->cream_num:Ljava/lang/String;

    :goto_4
    aput-object v6, v5, v0

    invoke-virtual {v2, v4, v5}, Lcom/moji/forum/ui/CelebrityActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    iget v4, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->b:I

    invoke-static {v2, v4}, Lcom/moji/forum/common/ForumUtil;->a(Ljava/lang/String;I)Landroid/text/Spanned;

    move-result-object v2

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

    .line 196
    iget-object p2, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->topic_num:Ljava/lang/String;

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

    move-result p2

    if-nez p2, :cond_6

    .line 197
    iget-object p2, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->j:Landroid/widget/TextView;

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

    .line 198
    iget-object p2, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->j:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a:Lcom/moji/forum/ui/CelebrityActivity;

    sget v4, Lcom/moji/forum/R$string;->total_nums:I

    new-array v5, v3, [Ljava/lang/Object;

    iget-object v6, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->topic_num:Ljava/lang/String;

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

    move-result v6

    if-eqz v6, :cond_5

    const-string v6, "0"

    goto :goto_5

    :cond_5
    iget-object v6, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->topic_num:Ljava/lang/String;

    :goto_5
    aput-object v6, v5, v0

    invoke-virtual {v2, v4, v5}, Lcom/moji/forum/ui/CelebrityActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    iget v4, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->b:I

    invoke-static {v2, v4}, Lcom/moji/forum/common/ForumUtil;->a(Ljava/lang/String;I)Landroid/text/Spanned;

    move-result-object v2

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

    .line 201
    :cond_6
    invoke-virtual {p0}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->getGroupCount()I

    move-result p2

    const/4 v2, 0x2

    if-ne p2, v2, :cond_8

    if-nez p1, :cond_7

    .line 203
    invoke-direct {p0, p5, v0}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a(Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;I)V

    goto :goto_6

    .line 205
    :cond_7
    invoke-direct {p0, p5, v3}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a(Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;I)V

    goto :goto_6

    .line 207
    :cond_8
    invoke-virtual {p0}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->getGroupCount()I

    move-result p1

    if-ne p1, v3, :cond_a

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

    invoke-virtual {p1}, Ljava/util/ArrayList;->isEmpty()Z

    move-result p1

    if-nez p1, :cond_9

    .line 209
    invoke-direct {p0, p5, v0}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a(Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;I)V

    goto :goto_6

    .line 211
    :cond_9
    invoke-direct {p0, p5, v3}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a(Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;I)V

    .line 214
    :cond_a
    :goto_6
    iget-object p1, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->sex:Ljava/lang/String;

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

    move-result p1

    if-nez p1, :cond_b

    iget-object p1, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->sex:Ljava/lang/String;

    const-string p2, "2"

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

    move-result p1

    if-eqz p1, :cond_b

    .line 215
    iget-object p1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->f:Landroid/widget/ImageView;

    iget-object p2, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->face:Ljava/lang/String;

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

    invoke-static {p1, p2, v2}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/widget/ImageView;Ljava/lang/String;I)V

    goto :goto_7

    .line 217
    :cond_b
    iget-object p1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->f:Landroid/widget/ImageView;

    iget-object p2, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->face:Ljava/lang/String;

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

    invoke-static {p1, p2, v2}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/widget/ImageView;Ljava/lang/String;I)V

    .line 220
    :goto_7
    iget-object p1, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->rank_icon:Ljava/lang/String;

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

    move-result p1

    if-nez p1, :cond_c

    .line 221
    iget-object p1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->i:Landroid/widget/ImageView;

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

    .line 222
    iget-object p1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->i:Landroid/widget/ImageView;

    iget-object p2, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->rank_icon:Ljava/lang/String;

    invoke-static {p1, p2}, Lcom/moji/forum/common/ForumUtil;->b(Landroid/widget/ImageView;Ljava/lang/String;)V

    goto :goto_8

    .line 224
    :cond_c
    iget-object p1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->i:Landroid/widget/ImageView;

    const/4 p2, 0x4

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

    .line 230
    :goto_8
    iget-object p1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->e:Landroid/widget/ImageView;

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

    .line 231
    iget-object p1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->e:Landroid/widget/ImageView;

    iget-object p2, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a:Lcom/moji/forum/ui/CelebrityActivity;

    invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 232
    iget p1, v1, Lcom/moji/http/mqn/entity/CelebrityInfo$User;->type:I

    iget-object p2, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->e:Landroid/widget/ImageView;

    invoke-virtual {p0, p1, p2}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a(ILandroid/widget/ImageView;)V

    .line 233
    iget-object p1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->e:Landroid/widget/ImageView;

    invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    .line 236
    iget-object p1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->f:Landroid/widget/ImageView;

    iget-object p2, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a:Lcom/moji/forum/ui/CelebrityActivity;

    invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 237
    iget-object p1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->f:Landroid/widget/ImageView;

    invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    if-eqz p3, :cond_d

    .line 240
    iget-object p1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->g:Landroid/view/View;

    const/16 p2, 0x8

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

    goto :goto_9

    .line 242
    :cond_d
    iget-object p1, p5, Lcom/moji/forum/ui/CelebrityActivityAdapter$ChildHolder;->g:Landroid/view/View;

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

    :goto_9
    return-object p4
.end method

.method public getChildrenCount(I)I
    .locals 2

    .line 100
    invoke-virtual {p0}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->getGroupCount()I

    move-result v0

    const/4 v1, 0x2

    if-ne v0, v1, :cond_1

    if-nez p1, :cond_0

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

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

    move-result p1

    return p1

    :cond_0
    const/4 v0, 0x1

    if-ne p1, v0, :cond_1

    .line 104
    iget-object p1, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->g:Ljava/util/ArrayList;

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

    move-result p1

    return p1

    .line 107
    :cond_1
    iget-object p1, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->e:Ljava/util/ArrayList;

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

    move-result p1

    return p1
.end method

.method public getGroup(I)Ljava/lang/Object;
    .locals 0

    const/4 p1, 0x0

    return-object p1
.end method

.method public getGroupCount()I
    .locals 1

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

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_0

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

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x2

    return v0

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

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_1

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

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    return v0

    :cond_1
    const/4 v0, 0x1

    return v0
.end method

.method public getGroupId(I)J
    .locals 2

    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public getGroupView(IZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 2

    const/4 p2, 0x0

    if-nez p3, :cond_0

    .line 115
    iget-object p3, p0, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a:Lcom/moji/forum/ui/CelebrityActivity;

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

    move-result-object p3

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

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

    move-result-object p3

    .line 116
    new-instance p4, Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;

    const/4 v0, 0x0

    invoke-direct {p4, v0}, Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;-><init>(Lcom/moji/forum/ui/CelebrityActivityAdapter$1;)V

    .line 117
    sget v0, Lcom/moji/forum/R$id;->lable:I

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

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p4, Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;->a:Landroid/widget/TextView;

    .line 118
    sget v0, Lcom/moji/forum/R$id;->line:I

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

    move-result-object v0

    iput-object v0, p4, Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;->b:Landroid/view/View;

    .line 119
    invoke-virtual {p3, p4}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    goto :goto_0

    .line 121
    :cond_0
    invoke-virtual {p3}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object p4

    check-cast p4, Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;

    .line 124
    :goto_0
    invoke-virtual {p0}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->getGroupCount()I

    move-result v0

    const/4 v1, 0x2

    if-ne v0, v1, :cond_1

    .line 125
    invoke-direct {p0, p4, p1}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a(Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;I)V

    goto :goto_1

    .line 126
    :cond_1
    invoke-virtual {p0}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->getGroupCount()I

    move-result p1

    const/4 v0, 0x1

    if-ne p1, v0, :cond_3

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

    invoke-virtual {p1}, Ljava/util/ArrayList;->isEmpty()Z

    move-result p1

    if-nez p1, :cond_2

    .line 128
    invoke-direct {p0, p4, p2}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a(Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;I)V

    goto :goto_1

    .line 130
    :cond_2
    invoke-direct {p0, p4, v0}, Lcom/moji/forum/ui/CelebrityActivityAdapter;->a(Lcom/moji/forum/ui/CelebrityActivityAdapter$GroupHolder;I)V

    :cond_3
    :goto_1
    return-object p3
.end method

.method public hasStableIds()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public isChildSelectable(II)Z
    .locals 0

    const/4 p1, 0x0

    return p1
.end method
