.class Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter$3;
.super Ljava/lang/Object;
.source "ChannelVideoFragmentAdapter.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;)V
    .locals 0

    .line 328
    iput-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter$3;->a:Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;

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

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    .line 331
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    .line 332
    sget v1, Lcom/moji/mjweather/feed/R$id;->zaker_last_position_layout:I

    if-ne v0, v1, :cond_0

    .line 333
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter$3;->a:Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;

    iget-object p1, p1, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;->c:Lcom/moji/mjweather/feed/adapter/BaseZakerListAdapter$OnLastPositionClickListener;

    if-eqz p1, :cond_5

    .line 334
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter$3;->a:Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;

    iget-object p1, p1, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;->c:Lcom/moji/mjweather/feed/adapter/BaseZakerListAdapter$OnLastPositionClickListener;

    invoke-interface {p1}, Lcom/moji/mjweather/feed/adapter/BaseZakerListAdapter$OnLastPositionClickListener;->a()V

    goto :goto_2

    .line 336
    :cond_0
    sget v1, Lcom/moji/mjweather/feed/R$id;->root:I

    if-eq v0, v1, :cond_2

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

    if-ne v0, v1, :cond_1

    goto :goto_0

    .line 352
    :cond_1
    sget v1, Lcom/moji/mjweather/feed/R$id;->view_praise:I

    if-ne v0, v1, :cond_5

    .line 353
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

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

    .line 354
    iget-object v1, p0, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter$3;->a:Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;

    iget-wide v2, v0, Lcom/moji/mjweather/feed/data/ZakerFeed;->feed_id:J

    check-cast p1, Lcom/moji/praise/PraiseView;

    invoke-static {v1, v0, v2, v3, p1}, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;->a(Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;Lcom/moji/mjweather/feed/data/ZakerFeed;JLcom/moji/praise/PraiseView;)V

    goto :goto_2

    .line 337
    :cond_2
    :goto_0
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter$3;->a:Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;

    invoke-static {v0}, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;->b(Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;)Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter$OnItemClickListener;

    move-result-object v0

    if-eqz v0, :cond_5

    .line 338
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

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

    .line 342
    sget v1, Lcom/moji/mjweather/feed/R$id;->id_tag:I

    invoke-virtual {p1, v1}, Landroid/view/View;->getTag(I)Ljava/lang/Object;

    move-result-object v1

    const/4 v2, 0x0

    if-eqz v1, :cond_3

    .line 343
    sget v1, Lcom/moji/mjweather/feed/R$id;->id_tag:I

    invoke-virtual {p1, v1}, Landroid/view/View;->getTag(I)Ljava/lang/Object;

    move-result-object v1

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

    goto :goto_1

    :cond_3
    move-object v1, v2

    .line 346
    :goto_1
    sget v3, Lcom/moji/mjweather/feed/R$id;->id_tag_2:I

    invoke-virtual {p1, v3}, Landroid/view/View;->getTag(I)Ljava/lang/Object;

    move-result-object v3

    if-eqz v3, :cond_4

    .line 347
    sget v2, Lcom/moji/mjweather/feed/R$id;->id_tag_2:I

    invoke-virtual {p1, v2}, Landroid/view/View;->getTag(I)Ljava/lang/Object;

    move-result-object p1

    move-object v2, p1

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

    .line 350
    :cond_4
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter$3;->a:Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;

    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;->b(Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;)Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter$OnItemClickListener;

    move-result-object p1

    invoke-interface {p1, v0, v1, v2}, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter$OnItemClickListener;->a(Lcom/moji/mjweather/feed/data/ZakerFeed;Lcom/moji/mjweather/feed/data/ZakerFeed;Lcom/moji/mjweather/feed/data/ZakerFeed;)V

    :cond_5
    :goto_2
    return-void
.end method
