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

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/feed/adapter/ChannelAdapter;->a(Landroid/view/ViewGroup;I)Landroid/support/v7/widget/RecyclerView$ViewHolder;
.end annotation

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


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

.field final synthetic b:Lcom/moji/mjweather/feed/adapter/ChannelAdapter;


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

    .line 172
    iput-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelAdapter$1;->b:Lcom/moji/mjweather/feed/adapter/ChannelAdapter;

    iput-object p2, p0, Lcom/moji/mjweather/feed/adapter/ChannelAdapter$1;->a:Lcom/moji/mjweather/feed/adapter/ChannelAdapter$PinViewHolder;

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

    return-void
.end method


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

    .line 175
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelAdapter$1;->b:Lcom/moji/mjweather/feed/adapter/ChannelAdapter;

    invoke-static {v0}, Lcom/moji/mjweather/feed/adapter/ChannelAdapter;->a(Lcom/moji/mjweather/feed/adapter/ChannelAdapter;)Lcom/moji/mjweather/feed/adapter/ChannelAdapter$OnMyChannelItemClickListener;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 176
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/ChannelAdapter$1;->a:Lcom/moji/mjweather/feed/adapter/ChannelAdapter$PinViewHolder;

    invoke-virtual {v0}, Lcom/moji/mjweather/feed/adapter/ChannelAdapter$PinViewHolder;->e()I

    move-result v0

    .line 177
    iget-object v1, p0, Lcom/moji/mjweather/feed/adapter/ChannelAdapter$1;->b:Lcom/moji/mjweather/feed/adapter/ChannelAdapter;

    invoke-static {v1}, Lcom/moji/mjweather/feed/adapter/ChannelAdapter;->a(Lcom/moji/mjweather/feed/adapter/ChannelAdapter;)Lcom/moji/mjweather/feed/adapter/ChannelAdapter$OnMyChannelItemClickListener;

    move-result-object v1

    iget-object v2, p0, Lcom/moji/mjweather/feed/adapter/ChannelAdapter$1;->b:Lcom/moji/mjweather/feed/adapter/ChannelAdapter;

    invoke-virtual {v2}, Lcom/moji/mjweather/feed/adapter/ChannelAdapter;->e()I

    move-result v2

    sub-int/2addr v0, v2

    invoke-interface {v1, p1, v0}, Lcom/moji/mjweather/feed/adapter/ChannelAdapter$OnMyChannelItemClickListener;->a(Landroid/view/View;I)V

    :cond_0
    return-void
.end method
