.class public Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;
.super Lcom/moji/mjweather/feed/adapter/BaseZakerListAdapter;
.source "ChannelZakerFragmentListAdapter.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$OnItemClickListener;,
        Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$EmptyViewHolder;,
        Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$FooterViewHolder;,
        Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoSmallPicViewHolder;,
        Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoBigPicViewHolder;,
        Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;,
        Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal03ViewHolder;,
        Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal12ViewHolder;,
        Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;,
        Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopViewHolder;,
        Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$AdViewHolder;,
        Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;
    }
.end annotation


# instance fields
.field private d:Landroid/content/Context;

.field private e:Landroid/view/LayoutInflater;

.field private f:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/moji/mjweather/feed/data/ZakerFeed;",
            ">;"
        }
    .end annotation
.end field

.field private g:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/moji/mjweather/feed/data/ZakerFeed;",
            ">;"
        }
    .end annotation
.end field

.field private h:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/moji/mjweather/feed/data/ZakerFeed;",
            ">;"
        }
    .end annotation
.end field

.field private i:I

.field private j:Landroid/widget/TextView;

.field private k:Landroid/widget/ProgressBar;

.field private l:I

.field private m:Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$OnItemClickListener;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;Ljava/util/List;Ljava/util/List;I)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/List<",
            "Lcom/moji/mjweather/feed/data/ZakerFeed;",
            ">;",
            "Ljava/util/List<",
            "Lcom/moji/mjweather/feed/data/ZakerFeed;",
            ">;",
            "Ljava/util/List<",
            "Lcom/moji/mjweather/feed/data/ZakerFeed;",
            ">;I)V"
        }
    .end annotation

    .line 49
    invoke-direct {p0}, Lcom/moji/mjweather/feed/adapter/BaseZakerListAdapter;-><init>()V

    const/4 v0, 0x0

    .line 44
    iput v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->i:I

    .line 50
    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/content/Context;

    iput-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->d:Landroid/content/Context;

    .line 51
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->d:Landroid/content/Context;

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

    move-result-object p1

    iput-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->e:Landroid/view/LayoutInflater;

    .line 52
    iput-object p2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->f:Ljava/util/List;

    .line 53
    iput-object p3, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->g:Ljava/util/List;

    .line 54
    iput-object p4, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->h:Ljava/util/List;

    .line 55
    iput p5, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->i:I

    .line 56
    new-instance p1, Lcom/moji/preferences/ProcessPrefer;

    invoke-direct {p1}, Lcom/moji/preferences/ProcessPrefer;-><init>()V

    invoke-virtual {p1}, Lcom/moji/preferences/ProcessPrefer;->g()Z

    move-result p1

    iput-boolean p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a:Z

    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;)I
    .locals 0

    .line 37
    iget p0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->i:I

    return p0
.end method

.method private a(Landroid/widget/ImageView;Ljava/lang/String;)V
    .locals 2

    if-nez p2, :cond_0

    const-string p2, ""

    .line 605
    :cond_0
    invoke-virtual {p1}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 606
    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 607
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->d:Landroid/content/Context;

    sget v1, Lcom/moji/mjweather/feed/R$drawable;->zaker_default_image:I

    invoke-static {v0, p2, p1, v1}, Lcom/moji/tool/ImageUtils;->a(Landroid/content/Context;Ljava/lang/String;Landroid/widget/ImageView;I)V

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

    :cond_1
    return-void
.end method

.method private a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;Lcom/moji/mjweather/feed/data/ZakerFeed;)V
    .locals 4

    .line 398
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;->p:Landroid/widget/TextView;

    iget-object v1, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->feed_title:Ljava/lang/String;

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

    .line 399
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;->p:Landroid/widget/TextView;

    iget-boolean v1, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->clicked:Z

    if-eqz v1, :cond_0

    const v1, -0x666667

    goto :goto_0

    :cond_0
    const v1, -0xcdcdce

    :goto_0
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 400
    iget-object v0, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->source:Ljava/lang/String;

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

    move-result v0

    const/4 v1, 0x0

    const/16 v2, 0x8

    if-eqz v0, :cond_1

    .line 401
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;->q:Landroid/widget/TextView;

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

    goto :goto_1

    .line 403
    :cond_1
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;->q:Landroid/widget/TextView;

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

    .line 404
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;->q:Landroid/widget/TextView;

    iget-object v3, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->source:Ljava/lang/String;

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

    .line 407
    :goto_1
    iget v0, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->comment_number:I

    if-nez v0, :cond_2

    .line 408
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;->t:Landroid/widget/TextView;

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

    goto :goto_2

    .line 410
    :cond_2
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;->t:Landroid/widget/TextView;

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

    .line 411
    new-instance v0, Ljava/lang/StringBuilder;

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

    iget v3, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->comment_number:I

    invoke-static {v3}, Lcom/moji/mjweather/ipc/utils/GlobalUtils;->a(I)Ljava/lang/String;

    move-result-object v3

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

    sget v3, Lcom/moji/mjweather/feed/R$string;->feed_comment_num:I

    invoke-static {v3}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;

    move-result-object v3

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

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

    move-result-object v0

    .line 412
    iget-object v3, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;->t:Landroid/widget/TextView;

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

    .line 415
    :goto_2
    iget-object v0, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->tag_new:Ljava/lang/String;

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

    move-result v0

    if-eqz v0, :cond_3

    .line 416
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;->r:Landroid/widget/TextView;

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

    goto :goto_3

    .line 418
    :cond_3
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;->r:Landroid/widget/TextView;

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

    .line 419
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;->r:Landroid/widget/TextView;

    sget v3, Lcom/moji/mjweather/feed/R$color;->tag_text_red:I

    invoke-static {v3}, Lcom/moji/tool/DeviceTool;->e(I)I

    move-result v3

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

    .line 420
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;->r:Landroid/widget/TextView;

    iget-object v3, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->tag_new:Ljava/lang/String;

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

    .line 423
    :goto_3
    iget-object p1, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;->u:Landroid/view/View;

    iget-boolean p2, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->is_last_position:Z

    if-eqz p2, :cond_4

    goto :goto_4

    :cond_4
    const/16 v1, 0x8

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

    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;Lcom/moji/mjweather/feed/data/ZakerFeed;II)V
    .locals 0

    .line 37
    invoke-direct {p0, p1, p2, p3}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a(Lcom/moji/mjweather/feed/data/ZakerFeed;II)V

    return-void
.end method

.method private a(Lcom/moji/mjweather/feed/data/ZakerFeed;II)V
    .locals 1

    .line 626
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->m:Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$OnItemClickListener;

    if-eqz v0, :cond_0

    .line 627
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->m:Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$OnItemClickListener;

    invoke-interface {v0, p1, p2, p3}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$OnItemClickListener;->a(Lcom/moji/mjweather/feed/data/ZakerFeed;II)V

    :cond_0
    return-void
.end method

.method static synthetic b(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;)I
    .locals 0

    .line 37
    iget p0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->l:I

    return p0
.end method

.method static synthetic c(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;)Landroid/content/Context;
    .locals 0

    .line 37
    iget-object p0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->d:Landroid/content/Context;

    return-object p0
.end method


# virtual methods
.method public a()I
    .locals 2

    .line 66
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->f:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->g:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x0

    return v0

    .line 69
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->g:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, 0x2

    iget-object v1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->h:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    add-int/2addr v0, v1

    return v0
.end method

.method public a(I)I
    .locals 4

    .line 74
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->g:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    .line 75
    invoke-virtual {p0}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a()I

    move-result v1

    const/4 v2, 0x1

    sub-int/2addr v1, v2

    if-ne p1, v1, :cond_0

    const/4 p1, 0x4

    return p1

    :cond_0
    if-nez p1, :cond_1

    const/4 p1, 0x0

    return p1

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

    if-ge p1, v1, :cond_2

    return v2

    .line 84
    :cond_2
    iget-object v1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->h:Ljava/util/List;

    sub-int/2addr p1, v0

    sub-int/2addr p1, v2

    invoke-interface {v1, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/moji/mjweather/feed/data/ZakerFeed;

    .line 85
    iget v0, p1, Lcom/moji/mjweather/feed/data/ZakerFeed;->show_type:I

    const/4 v1, -0x2

    if-eq v0, v1, :cond_8

    const/4 v1, 0x3

    if-eqz v0, :cond_5

    if-eq v0, v1, :cond_5

    const/4 p1, 0x7

    if-eq v0, p1, :cond_4

    const/16 p1, 0x9

    if-eq v0, p1, :cond_3

    const/4 p1, -0x1

    return p1

    :cond_3
    const/16 p1, 0xd

    return p1

    :cond_4
    const/16 p1, 0xc

    return p1

    .line 88
    :cond_5
    iget-object v0, p1, Lcom/moji/mjweather/feed/data/ZakerFeed;->image_list:Ljava/util/ArrayList;

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

    move-result v0

    const/4 v3, 0x2

    if-eq v0, v2, :cond_7

    iget-object p1, p1, Lcom/moji/mjweather/feed/data/ZakerFeed;->image_list:Ljava/util/ArrayList;

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

    move-result p1

    if-ne p1, v3, :cond_6

    goto :goto_0

    :cond_6
    return v1

    :cond_7
    :goto_0
    return v3

    :cond_8
    const/16 p1, 0xb

    return p1
.end method

.method public a(Landroid/view/ViewGroup;I)Landroid/support/v7/widget/RecyclerView$ViewHolder;
    .locals 4

    const/4 v0, 0x0

    packed-switch p2, :pswitch_data_0

    packed-switch p2, :pswitch_data_1

    .line 143
    new-instance p2, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$EmptyViewHolder;

    new-instance v0, Landroid/view/View;

    invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object p1

    invoke-direct {v0, p1}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    invoke-direct {p2, p0, v0}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$EmptyViewHolder;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;Landroid/view/View;)V

    return-object p2

    .line 134
    :pswitch_0
    iget-object p2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->e:Landroid/view/LayoutInflater;

    sget v1, Lcom/moji/mjweather/feed/R$layout;->item_recommendfragment_video_small:I

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

    move-result-object p1

    .line 135
    new-instance p2, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoSmallPicViewHolder;

    invoke-direct {p2, p0, p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoSmallPicViewHolder;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;Landroid/view/View;)V

    return-object p2

    .line 131
    :pswitch_1
    iget-object p2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->e:Landroid/view/LayoutInflater;

    sget v1, Lcom/moji/mjweather/feed/R$layout;->item_recommendfragment_video:I

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

    move-result-object p1

    .line 132
    new-instance p2, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoBigPicViewHolder;

    invoke-direct {p2, p0, p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoBigPicViewHolder;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;Landroid/view/View;)V

    return-object p2

    .line 140
    :pswitch_2
    iget-object p2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->e:Landroid/view/LayoutInflater;

    sget v1, Lcom/moji/mjweather/feed/R$layout;->item_zakerfragment_ad:I

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

    move-result-object p1

    .line 141
    new-instance p2, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$AdViewHolder;

    invoke-direct {p2, p0, p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$AdViewHolder;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;Landroid/view/View;)V

    return-object p2

    .line 137
    :pswitch_3
    iget-object p2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->e:Landroid/view/LayoutInflater;

    sget v1, Lcom/moji/mjweather/feed/R$layout;->item_zakerfragment_footer:I

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

    move-result-object p1

    .line 138
    new-instance p2, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$FooterViewHolder;

    invoke-direct {p2, p0, p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$FooterViewHolder;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;Landroid/view/View;)V

    return-object p2

    .line 128
    :pswitch_4
    iget-object p2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->e:Landroid/view/LayoutInflater;

    sget v1, Lcom/moji/mjweather/feed/R$layout;->item_zakerfragment_zaker_0_3:I

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

    move-result-object p1

    .line 129
    new-instance p2, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal03ViewHolder;

    invoke-direct {p2, p0, p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal03ViewHolder;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;Landroid/view/View;)V

    return-object p2

    .line 125
    :pswitch_5
    iget-object p2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->e:Landroid/view/LayoutInflater;

    sget v1, Lcom/moji/mjweather/feed/R$layout;->item_zakerfragment_zaker_1_2:I

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

    move-result-object p1

    .line 126
    new-instance p2, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal12ViewHolder;

    invoke-direct {p2, p0, p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal12ViewHolder;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;Landroid/view/View;)V

    return-object p2

    .line 122
    :pswitch_6
    iget-object p2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->e:Landroid/view/LayoutInflater;

    sget v1, Lcom/moji/mjweather/feed/R$layout;->item_zakerfragment_top:I

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

    move-result-object p1

    .line 123
    new-instance p2, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopViewHolder;

    invoke-direct {p2, p0, p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopViewHolder;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;Landroid/view/View;)V

    return-object p2

    .line 109
    :pswitch_7
    iget-object p2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->e:Landroid/view/LayoutInflater;

    sget v1, Lcom/moji/mjweather/feed/R$layout;->item_zakerfragment_top_big_pic:I

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

    move-result-object p1

    .line 110
    iget-object p2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->f:Ljava/util/List;

    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result p2

    if-lez p2, :cond_0

    .line 111
    new-instance p2, Lorg/json/JSONObject;

    invoke-direct {p2}, Lorg/json/JSONObject;-><init>()V

    .line 112
    iget-object v1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->f:Ljava/util/List;

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

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/feed/data/ZakerFeed;

    :try_start_0
    const-string v1, "property1"

    .line 114
    iget-wide v2, v0, Lcom/moji/mjweather/feed/data/ZakerFeed;->banner_id:J

    invoke-virtual {p2, v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    const-string v1, "ChannelZakerFragmentLis"

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

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

    move-result-object v0

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->FEEDS_CATEGORYL_BANNER:Lcom/moji/statistics/EVENT_TAG;

    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, ""

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

    iget v3, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->l:I

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

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

    move-result-object v2

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

    .line 120
    :cond_0
    new-instance p2, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;

    invoke-direct {p2, p0, p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;Landroid/view/View;)V

    return-object p2

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_7
        :pswitch_6
        :pswitch_5
        :pswitch_4
        :pswitch_3
    .end packed-switch

    :pswitch_data_1
    .packed-switch 0xb
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public a(Landroid/support/v7/widget/RecyclerView$ViewHolder;I)V
    .locals 9

    .line 148
    invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView$ViewHolder;->h()I

    move-result v0

    const v1, -0xcdcdce

    const v2, -0x666667

    const/4 v3, 0x1

    const/16 v4, 0x8

    const/4 v5, 0x0

    packed-switch v0, :pswitch_data_0

    packed-switch v0, :pswitch_data_1

    goto/16 :goto_a

    .line 332
    :pswitch_0
    check-cast p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;

    .line 333
    iget-object v1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->h:Ljava/util/List;

    iget-object v2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->g:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    sub-int v2, p2, v2

    sub-int/2addr v2, v3

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

    move-result-object v1

    check-cast v1, Lcom/moji/mjweather/feed/data/ZakerFeed;

    .line 334
    iget-object v2, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->v:Landroid/view/View;

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

    .line 335
    iget-object v2, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->v:Landroid/view/View;

    sget v3, Lcom/moji/mjweather/feed/R$id;->v_root:I

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v6

    invoke-virtual {v2, v3, v6}, Landroid/view/View;->setTag(ILjava/lang/Object;)V

    .line 336
    iget-object v2, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->o:Landroid/widget/TextView;

    iget-object v3, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->feed_title:Ljava/lang/String;

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

    .line 337
    iget-object v2, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->tag_new:Ljava/lang/String;

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

    move-result v2

    if-eqz v2, :cond_0

    .line 338
    iget-object v2, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->r:Landroid/widget/TextView;

    const/4 v3, 0x4

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

    goto :goto_0

    .line 340
    :cond_0
    iget-object v2, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->r:Landroid/widget/TextView;

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

    .line 341
    iget-object v2, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->r:Landroid/widget/TextView;

    iget-object v3, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->tag_new:Ljava/lang/String;

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

    :goto_0
    const/16 v2, 0xd

    if-ne v0, v2, :cond_1

    .line 345
    iget-object v0, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->image_list:Ljava/util/ArrayList;

    if-eqz v0, :cond_3

    iget-object v0, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->image_list:Ljava/util/ArrayList;

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

    move-result v0

    if-lez v0, :cond_3

    .line 346
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->d:Landroid/content/Context;

    iget-object v2, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->image_list:Ljava/util/ArrayList;

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

    move-result-object v2

    check-cast v2, Lcom/moji/http/fdsapi/entity/ZakerBaseFeed$Image;

    iget-object v2, v2, Lcom/moji/http/fdsapi/entity/ZakerBaseFeed$Image;->full_image_url:Ljava/lang/String;

    iget-object v3, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->u:Landroid/widget/ImageView;

    sget v6, Lcom/moji/mjweather/feed/R$drawable;->zaker_default_image:I

    invoke-static {v0, v2, v3, v6}, Lcom/moji/tool/ImageUtils;->a(Landroid/content/Context;Ljava/lang/String;Landroid/widget/ImageView;I)V

    goto :goto_1

    :cond_1
    const v0, 0x3fe3d70a    # 1.78f

    .line 350
    iget v2, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->banner_height:I

    if-lez v2, :cond_2

    iget v2, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->banner_width:I

    if-lez v2, :cond_2

    .line 351
    iget v0, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->banner_width:I

    int-to-float v0, v0

    iget v2, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->banner_height:I

    int-to-float v2, v2

    div-float/2addr v0, v2

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

    move-result v2

    int-to-float v2, v2

    div-float/2addr v2, v0

    float-to-int v0, v2

    .line 355
    iget-object v2, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->t:Landroid/view/View;

    invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v2

    .line 356
    iput v0, v2, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 357
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->t:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 358
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->d:Landroid/content/Context;

    iget-object v2, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->full_banner_url:Ljava/lang/String;

    iget-object v3, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->u:Landroid/widget/ImageView;

    sget v6, Lcom/moji/mjweather/feed/R$drawable;->zaker_default_image:I

    invoke-static {v0, v2, v3, v6}, Lcom/moji/tool/ImageUtils;->a(Landroid/content/Context;Ljava/lang/String;Landroid/widget/ImageView;I)V

    .line 361
    :cond_3
    :goto_1
    iget-object v0, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->source:Ljava/lang/String;

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

    move-result v2

    if-nez v2, :cond_4

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    const/16 v3, 0x9

    if-le v2, v3, :cond_4

    .line 363
    invoke-virtual {v0, v5, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    .line 364
    new-instance v2, Ljava/lang/StringBuilder;

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

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

    const-string v0, "\u2026"

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

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

    move-result-object v0

    .line 366
    :cond_4
    iget-object v2, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->p:Landroid/widget/TextView;

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

    .line 367
    iget-object v0, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->feedExpand:Lcom/moji/http/fdsapi/entity/FeedExpand;

    if-eqz v0, :cond_5

    .line 368
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->q:Landroid/widget/TextView;

    iget-object v2, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->feedExpand:Lcom/moji/http/fdsapi/entity/FeedExpand;

    iget v2, v2, Lcom/moji/http/fdsapi/entity/FeedExpand;->time:I

    invoke-static {v2}, Lcom/moji/mjweather/ipc/utils/GlobalUtils;->b(I)Ljava/lang/String;

    move-result-object v2

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

    .line 371
    :cond_5
    iget v0, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->browse_number:I

    if-lez v0, :cond_6

    .line 372
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->s:Landroid/widget/TextView;

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

    .line 373
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->s:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

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

    iget v3, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->browse_number:I

    invoke-static {v3}, Lcom/moji/mjweather/ipc/utils/GlobalUtils;->a(I)Ljava/lang/String;

    move-result-object v3

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

    iget-object v3, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->d:Landroid/content/Context;

    sget v6, Lcom/moji/mjweather/feed/R$string;->paly_num:I

    invoke-virtual {v3, v6}, Landroid/content/Context;->getString(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 {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_2

    .line 375
    :cond_6
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->s:Landroid/widget/TextView;

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

    .line 377
    :goto_2
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->w:Landroid/view/View;

    iget-boolean v1, v1, Lcom/moji/mjweather/feed/data/ZakerFeed;->is_last_position:Z

    if-eqz v1, :cond_7

    const/4 v4, 0x0

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

    .line 378
    iget-object p1, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$VideoViewHolder;->v:Landroid/view/View;

    new-instance v0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$8;

    invoke-direct {v0, p0, p2}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$8;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;I)V

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

    goto/16 :goto_a

    .line 278
    :pswitch_1
    check-cast p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$AdViewHolder;

    .line 279
    iget-boolean v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a:Z

    if-eqz v0, :cond_8

    .line 281
    iget-object p1, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$AdViewHolder;->n:Lcom/moji/mjad/common/view/FeedAdView;

    invoke-virtual {p1, v4}, Lcom/moji/mjad/common/view/FeedAdView;->setVisibility(I)V

    goto/16 :goto_a

    .line 284
    :cond_8
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->h:Ljava/util/List;

    iget-object v1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->g:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    sub-int/2addr p2, v1

    sub-int/2addr p2, v3

    invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/moji/mjweather/feed/data/ZakerFeed;

    .line 285
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$AdViewHolder;->n:Lcom/moji/mjad/common/view/FeedAdView;

    iget-object v1, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->adCommon:Lcom/moji/mjad/common/data/AdCommon;

    new-instance v2, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$5;

    iget-object v3, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$AdViewHolder;->n:Lcom/moji/mjad/common/view/FeedAdView;

    invoke-direct {v2, p0, v3, p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$5;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;Lcom/moji/mjad/common/view/CommonAdView;Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$AdViewHolder;)V

    iget-object p1, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->sessionId:Ljava/lang/String;

    invoke-virtual {v0, v1, v2, p1}, Lcom/moji/mjad/common/view/FeedAdView;->a(Lcom/moji/mjad/common/data/AdCommon;Lcom/moji/mjad/common/listener/AbsCommonViewVisibleListenerImpl;Ljava/lang/String;)V

    goto/16 :goto_a

    .line 388
    :pswitch_2
    check-cast p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$FooterViewHolder;

    .line 389
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$FooterViewHolder;->a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$FooterViewHolder;)Landroid/widget/TextView;

    move-result-object p2

    iput-object p2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->j:Landroid/widget/TextView;

    .line 390
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$FooterViewHolder;->b(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$FooterViewHolder;)Landroid/widget/ProgressBar;

    move-result-object p1

    iput-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->k:Landroid/widget/ProgressBar;

    goto/16 :goto_a

    .line 301
    :pswitch_3
    check-cast p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal03ViewHolder;

    .line 302
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->h:Ljava/util/List;

    iget-object v1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->g:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    sub-int v1, p2, v1

    sub-int/2addr v1, v3

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

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/feed/data/ZakerFeed;

    .line 303
    invoke-direct {p0, p1, v0}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;Lcom/moji/mjweather/feed/data/ZakerFeed;)V

    .line 304
    iget-object v1, v0, Lcom/moji/mjweather/feed/data/ZakerFeed;->image_list:Ljava/util/ArrayList;

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

    move-result v1

    if-lez v1, :cond_9

    .line 306
    iget-object v2, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal03ViewHolder;->s:Landroid/widget/LinearLayout;

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

    .line 307
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal03ViewHolder;->a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal03ViewHolder;)Landroid/widget/ImageView;

    move-result-object v2

    iget-object v4, v0, Lcom/moji/mjweather/feed/data/ZakerFeed;->image_list:Ljava/util/ArrayList;

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

    move-result-object v4

    check-cast v4, Lcom/moji/http/fdsapi/entity/ZakerBaseFeed$Image;

    iget-object v4, v4, Lcom/moji/http/fdsapi/entity/ZakerBaseFeed$Image;->full_image_url:Ljava/lang/String;

    invoke-direct {p0, v2, v4}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a(Landroid/widget/ImageView;Ljava/lang/String;)V

    goto :goto_3

    .line 309
    :cond_9
    iget-object v2, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal03ViewHolder;->s:Landroid/widget/LinearLayout;

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

    :goto_3
    const/4 v2, 0x2

    if-le v1, v2, :cond_a

    .line 312
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal03ViewHolder;->b(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal03ViewHolder;)Landroid/widget/ImageView;

    move-result-object v1

    iget-object v4, v0, Lcom/moji/mjweather/feed/data/ZakerFeed;->image_list:Ljava/util/ArrayList;

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

    move-result-object v3

    check-cast v3, Lcom/moji/http/fdsapi/entity/ZakerBaseFeed$Image;

    iget-object v3, v3, Lcom/moji/http/fdsapi/entity/ZakerBaseFeed$Image;->full_image_url:Ljava/lang/String;

    invoke-direct {p0, v1, v3}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a(Landroid/widget/ImageView;Ljava/lang/String;)V

    .line 313
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal03ViewHolder;->c(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal03ViewHolder;)Landroid/widget/ImageView;

    move-result-object v1

    iget-object v3, v0, Lcom/moji/mjweather/feed/data/ZakerFeed;->image_list:Ljava/util/ArrayList;

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

    move-result-object v2

    check-cast v2, Lcom/moji/http/fdsapi/entity/ZakerBaseFeed$Image;

    iget-object v2, v2, Lcom/moji/http/fdsapi/entity/ZakerBaseFeed$Image;->full_image_url:Ljava/lang/String;

    invoke-direct {p0, v1, v2}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a(Landroid/widget/ImageView;Ljava/lang/String;)V

    .line 315
    :cond_a
    iget-object v1, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal03ViewHolder;->o:Landroid/view/View;

    new-instance v2, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$6;

    invoke-direct {v2, p0, v0, p2}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$6;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;Lcom/moji/mjweather/feed/data/ZakerFeed;I)V

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

    .line 321
    iget-object p1, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal03ViewHolder;->u:Landroid/view/View;

    new-instance p2, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$7;

    invoke-direct {p2, p0}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$7;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;)V

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

    goto/16 :goto_a

    .line 251
    :pswitch_4
    check-cast p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal12ViewHolder;

    .line 253
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->h:Ljava/util/List;

    iget-object v1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->g:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    sub-int v1, p2, v1

    sub-int/2addr v1, v3

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

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/feed/data/ZakerFeed;

    .line 254
    invoke-direct {p0, p1, v0}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$NormalViewHolder;Lcom/moji/mjweather/feed/data/ZakerFeed;)V

    .line 255
    iget-object v1, v0, Lcom/moji/mjweather/feed/data/ZakerFeed;->image_list:Ljava/util/ArrayList;

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

    move-result v1

    if-lez v1, :cond_b

    .line 257
    iget-object v1, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal12ViewHolder;->s:Landroid/widget/LinearLayout;

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

    .line 258
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal12ViewHolder;->a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal12ViewHolder;)Landroid/widget/ImageView;

    move-result-object v1

    iget-object v2, v0, Lcom/moji/mjweather/feed/data/ZakerFeed;->image_list:Ljava/util/ArrayList;

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

    move-result-object v2

    check-cast v2, Lcom/moji/http/fdsapi/entity/ZakerBaseFeed$Image;

    iget-object v2, v2, Lcom/moji/http/fdsapi/entity/ZakerBaseFeed$Image;->full_image_url:Ljava/lang/String;

    invoke-direct {p0, v1, v2}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a(Landroid/widget/ImageView;Ljava/lang/String;)V

    goto :goto_4

    .line 260
    :cond_b
    iget-object v1, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal12ViewHolder;->s:Landroid/widget/LinearLayout;

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

    .line 262
    :goto_4
    iget-object v1, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal12ViewHolder;->o:Landroid/view/View;

    new-instance v2, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$3;

    invoke-direct {v2, p0, v0, p2}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$3;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;Lcom/moji/mjweather/feed/data/ZakerFeed;I)V

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

    .line 268
    iget-object p1, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$Normal12ViewHolder;->u:Landroid/view/View;

    new-instance p2, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$4;

    invoke-direct {p2, p0}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$4;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;)V

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

    goto/16 :goto_a

    .line 239
    :pswitch_5
    check-cast p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopViewHolder;

    .line 240
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->g:Ljava/util/List;

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

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/feed/data/ZakerFeed;

    .line 241
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopViewHolder;->a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopViewHolder;)Landroid/widget/TextView;

    move-result-object v3

    iget-object v4, v0, Lcom/moji/mjweather/feed/data/ZakerFeed;->feed_title:Ljava/lang/String;

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

    .line 242
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopViewHolder;->a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopViewHolder;)Landroid/widget/TextView;

    move-result-object v3

    iget-boolean v4, v0, Lcom/moji/mjweather/feed/data/ZakerFeed;->clicked:Z

    if-eqz v4, :cond_c

    const v1, -0x666667

    :cond_c
    invoke-virtual {v3, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 243
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopViewHolder;->b(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopViewHolder;)Landroid/view/View;

    move-result-object p1

    new-instance v1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$2;

    invoke-direct {v1, p0, v0, p2}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$2;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;Lcom/moji/mjweather/feed/data/ZakerFeed;I)V

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

    goto/16 :goto_a

    .line 151
    :pswitch_6
    check-cast p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;

    .line 152
    iget-object p2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->f:Ljava/util/List;

    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result p2

    const/4 v0, -0x1

    if-nez p2, :cond_d

    .line 153
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;)Landroid/view/View;

    move-result-object p2

    new-instance v1, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v1, v0, v5}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {p2, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 154
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;)Landroid/view/View;

    move-result-object p1

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

    goto/16 :goto_a

    .line 156
    :cond_d
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;)Landroid/view/View;

    move-result-object p2

    new-instance v6, Landroid/view/ViewGroup$LayoutParams;

    const/4 v7, -0x2

    invoke-direct {v6, v0, v7}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {p2, v6}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 157
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;)Landroid/view/View;

    move-result-object p2

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

    .line 158
    iget-object p2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->f:Ljava/util/List;

    invoke-interface {p2, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/moji/mjweather/feed/data/ZakerFeed;

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

    move-result v0

    const/high16 v6, 0x41a00000    # 20.0f

    invoke-static {v6}, Lcom/moji/tool/DeviceTool;->a(F)I

    move-result v6

    sub-int/2addr v0, v6

    .line 161
    iget v6, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->width:I

    if-eqz v6, :cond_e

    .line 162
    iget v6, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->height:I

    int-to-float v6, v6

    iget v7, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->width:I

    int-to-float v7, v7

    div-float/2addr v6, v7

    goto :goto_5

    :cond_e
    const/4 v6, 0x0

    .line 166
    :goto_5
    new-instance v7, Landroid/widget/LinearLayout$LayoutParams;

    int-to-float v8, v0

    mul-float v6, v6, v8

    float-to-int v6, v6

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

    const/high16 v0, 0x41100000    # 9.0f

    .line 167
    invoke-static {v0}, Lcom/moji/tool/DeviceTool;->a(F)I

    move-result v0

    iput v0, v7, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    .line 168
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->b(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;)Landroid/widget/ImageView;

    move-result-object v0

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

    .line 169
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->b(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;)Landroid/widget/ImageView;

    move-result-object v0

    iget-object v6, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->banner_url:Ljava/lang/String;

    invoke-direct {p0, v0, v6}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a(Landroid/widget/ImageView;Ljava/lang/String;)V

    .line 170
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->t:Landroid/widget/TextView;

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

    .line 171
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->p:Landroid/widget/TextView;

    iget-object v6, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->title:Ljava/lang/String;

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

    .line 172
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->p:Landroid/widget/TextView;

    iget-boolean v6, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->clicked:Z

    if-eqz v6, :cond_f

    const v1, -0x666667

    :cond_f
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 173
    iget-object v0, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->content_source:Ljava/lang/String;

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

    move-result v0

    if-nez v0, :cond_10

    .line 174
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->q:Landroid/widget/TextView;

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

    .line 175
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->q:Landroid/widget/TextView;

    iget-object v1, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->content_source:Ljava/lang/String;

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

    goto :goto_6

    .line 177
    :cond_10
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->q:Landroid/widget/TextView;

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

    .line 180
    :goto_6
    iget v0, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->comment_count:I

    if-nez v0, :cond_11

    iget v0, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->subject_cmcount:I

    if-nez v0, :cond_11

    .line 181
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->t:Landroid/widget/TextView;

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

    goto :goto_8

    .line 183
    :cond_11
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->t:Landroid/widget/TextView;

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

    .line 185
    iget v0, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->type:I

    const/16 v1, 0x6a

    if-ne v0, v1, :cond_13

    .line 186
    iget v0, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->subject_type:I

    if-ne v0, v3, :cond_12

    .line 187
    new-instance v0, Ljava/lang/StringBuilder;

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

    iget v1, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->subject_cmcount:I

    invoke-static {v1}, Lcom/moji/mjweather/ipc/utils/GlobalUtils;->a(I)Ljava/lang/String;

    move-result-object v1

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

    sget v1, Lcom/moji/mjweather/feed/R$string;->join_vote:I

    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;

    move-result-object 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

    goto :goto_7

    .line 189
    :cond_12
    new-instance v0, Ljava/lang/StringBuilder;

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

    iget v1, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->subject_cmcount:I

    invoke-static {v1}, Lcom/moji/mjweather/ipc/utils/GlobalUtils;->a(I)Ljava/lang/String;

    move-result-object v1

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

    sget v1, Lcom/moji/mjweather/feed/R$string;->feed_comment_num:I

    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;

    move-result-object 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

    goto :goto_7

    .line 192
    :cond_13
    new-instance v0, Ljava/lang/StringBuilder;

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

    iget v1, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->comment_count:I

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

    sget v1, Lcom/moji/mjweather/feed/R$string;->feed_comment_num:I

    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;

    move-result-object 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

    .line 194
    :goto_7
    iget-object v1, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->t:Landroid/widget/TextView;

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

    .line 197
    :goto_8
    iget-object v0, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->tag_new:Ljava/lang/String;

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

    move-result v0

    if-eqz v0, :cond_14

    .line 198
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->r:Landroid/widget/TextView;

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

    goto :goto_9

    .line 200
    :cond_14
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->r:Landroid/widget/TextView;

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

    .line 201
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->r:Landroid/widget/TextView;

    sget v1, Lcom/moji/mjweather/feed/R$color;->tag_text_red:I

    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->e(I)I

    move-result v1

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

    .line 202
    iget-object v0, p1, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->r:Landroid/widget/TextView;

    iget-object v1, p2, Lcom/moji/mjweather/feed/data/ZakerFeed;->tag_new:Ljava/lang/String;

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

    .line 204
    :goto_9
    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;->a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$TopBigPicViewHolder;)Landroid/view/View;

    move-result-object p1

    new-instance v0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;

    invoke-direct {v0, p0, p2}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;-><init>(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;Lcom/moji/mjweather/feed/data/ZakerFeed;)V

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

    :goto_a
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_6
        :pswitch_5
        :pswitch_4
        :pswitch_3
        :pswitch_2
    .end packed-switch

    :pswitch_data_1
    .packed-switch 0xb
        :pswitch_1
        :pswitch_0
        :pswitch_0
    .end packed-switch
.end method

.method public a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$OnItemClickListener;)V
    .locals 0

    .line 634
    iput-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->m:Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$OnItemClickListener;

    return-void
.end method

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

    .line 613
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->k:Landroid/widget/ProgressBar;

    if-eqz v0, :cond_1

    .line 614
    sget v0, Lcom/moji/mjweather/feed/R$string;->feed_loading:I

    invoke-static {v0}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;

    move-result-object v0

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

    move-result v0

    if-eqz v0, :cond_0

    .line 615
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->k:Landroid/widget/ProgressBar;

    const/4 v1, 0x0

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

    goto :goto_0

    .line 617
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->k:Landroid/widget/ProgressBar;

    const/16 v1, 0x8

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

    .line 620
    :cond_1
    :goto_0
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->j:Landroid/widget/TextView;

    if-eqz v0, :cond_2

    .line 621
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->j:Landroid/widget/TextView;

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

    :cond_2
    return-void
.end method

.method public f(I)V
    .locals 0

    .line 61
    iput p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->l:I

    return-void
.end method
