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

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


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

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


# instance fields
.field final synthetic a:Lcom/moji/mjweather/feed/data/ZakerFeed;

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


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

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

    iput-object p2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->a:Lcom/moji/mjweather/feed/data/ZakerFeed;

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

    return-void
.end method


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

    .line 207
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->b:Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;

    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;)I

    move-result p1

    const/4 v0, 0x1

    if-ne p1, v0, :cond_0

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

    move-result-object p1

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->FEEDS_CATEGORYL_NEW_CLICK: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-object v3, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->b:Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;

    invoke-static {v3}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->b(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;)I

    move-result v3

    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 {p1, v1, v2}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    goto :goto_0

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

    move-result-object p1

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->FEEDS_CATEGORYL_CLICK: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-object v3, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->b:Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;

    invoke-static {v3}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->b(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;)I

    move-result v3

    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 {p1, v1, v2}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 212
    :goto_0
    new-instance p1, Lorg/json/JSONObject;

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

    :try_start_0
    const-string v1, "property1"

    .line 214
    iget-object v2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->a:Lcom/moji/mjweather/feed/data/ZakerFeed;

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

    invoke-virtual {p1, 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_1

    :catch_0
    move-exception v1

    const-string v2, "ChannelZakerFragmentLis"

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

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

    move-result-object v1

    sget-object v2, Lcom/moji/statistics/EVENT_TAG;->FEEDS_CATEGORYL_BANNER_CLICK:Lcom/moji/statistics/EVENT_TAG;

    new-instance v3, Ljava/lang/StringBuilder;

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

    const-string v4, ""

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

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

    invoke-static {v4}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->b(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;)I

    move-result v4

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

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

    move-result-object v3

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

    .line 219
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->a:Lcom/moji/mjweather/feed/data/ZakerFeed;

    iget p1, p1, Lcom/moji/mjweather/feed/data/ZakerFeed;->type:I

    const/16 v1, 0x65

    if-ne p1, v1, :cond_1

    .line 220
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->b:Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;

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

    invoke-static {v1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->c(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->a:Lcom/moji/mjweather/feed/data/ZakerFeed;

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

    invoke-virtual {p1, v1, v2}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a(Landroid/content/Context;Ljava/lang/String;)V

    goto/16 :goto_2

    .line 221
    :cond_1
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->a:Lcom/moji/mjweather/feed/data/ZakerFeed;

    iget p1, p1, Lcom/moji/mjweather/feed/data/ZakerFeed;->type:I

    const/16 v1, 0x66

    if-ne p1, v1, :cond_2

    .line 222
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->b:Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;

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

    invoke-static {v1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->c(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->a:Lcom/moji/mjweather/feed/data/ZakerFeed;

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

    invoke-virtual {p1, v1, v2}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->b(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_2

    .line 223
    :cond_2
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->a:Lcom/moji/mjweather/feed/data/ZakerFeed;

    iget p1, p1, Lcom/moji/mjweather/feed/data/ZakerFeed;->type:I

    const/16 v1, 0x67

    if-ne p1, v1, :cond_3

    .line 224
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->b:Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;

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

    invoke-static {v1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->c(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->a:Lcom/moji/mjweather/feed/data/ZakerFeed;

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

    invoke-virtual {p1, v1, v2}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_2

    .line 225
    :cond_3
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->a:Lcom/moji/mjweather/feed/data/ZakerFeed;

    iget p1, p1, Lcom/moji/mjweather/feed/data/ZakerFeed;->type:I

    const/16 v1, 0x68

    if-ne p1, v1, :cond_4

    .line 226
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->b:Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;

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

    invoke-static {v1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->c(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->a:Lcom/moji/mjweather/feed/data/ZakerFeed;

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

    invoke-virtual {p1, v1, v2}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_2

    .line 227
    :cond_4
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->a:Lcom/moji/mjweather/feed/data/ZakerFeed;

    iget p1, p1, Lcom/moji/mjweather/feed/data/ZakerFeed;->type:I

    const/16 v1, 0x69

    if-ne p1, v1, :cond_5

    .line 228
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->b:Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;

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

    invoke-static {v1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->c(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->a:Lcom/moji/mjweather/feed/data/ZakerFeed;

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

    invoke-virtual {p1, v1, v2}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->c(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_2

    .line 229
    :cond_5
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->a:Lcom/moji/mjweather/feed/data/ZakerFeed;

    iget p1, p1, Lcom/moji/mjweather/feed/data/ZakerFeed;->type:I

    const/16 v1, 0x6a

    if-ne p1, v1, :cond_6

    .line 230
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->b:Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;

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

    invoke-static {v1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->c(Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->a:Lcom/moji/mjweather/feed/data/ZakerFeed;

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

    invoke-virtual {p1, v1, v2}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->a(Landroid/content/Context;Ljava/lang/String;)V

    .line 232
    :cond_6
    :goto_2
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->a:Lcom/moji/mjweather/feed/data/ZakerFeed;

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

    .line 233
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter$1;->b:Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;

    invoke-virtual {p1}, Lcom/moji/mjweather/feed/adapter/ChannelZakerFragmentListAdapter;->d()V

    return-void
.end method
