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

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->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/http/fdsapi/entity/SimilarRecommendList$Item;

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


# direct methods
.method constructor <init>(Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;)V
    .locals 0

    .line 455
    iput-object p1, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->b:Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;

    iput-object p2, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->a:Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;

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

    return-void
.end method


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

    .line 458
    new-instance p1, Landroid/content/Intent;

    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->b:Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;

    iget-object v0, v0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->c:Landroid/content/Context;

    iget-object v1, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->a:Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;

    iget-wide v1, v1, Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;->feed_id:J

    const-wide/16 v3, 0x0

    cmp-long v5, v1, v3

    if-gtz v5, :cond_0

    const-class v1, Lcom/moji/mjweather/feed/details/ArticleDetailsActivity;

    goto :goto_0

    :cond_0
    const-class v1, Lcom/moji/mjweather/feed/ZakerDetailsActivity;

    :goto_0
    invoke-direct {p1, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 459
    new-instance v0, Landroid/os/Bundle;

    const/4 v1, 0x5

    invoke-direct {v0, v1}, Landroid/os/Bundle;-><init>(I)V

    .line 460
    invoke-virtual {v0}, Landroid/os/Bundle;->clear()V

    const-string v1, "feeddetail_feed_id"

    .line 461
    new-instance v2, Ljava/lang/Long;

    iget-object v3, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->a:Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;

    iget-wide v3, v3, Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;->feed_id:J

    invoke-direct {v2, v3, v4}, Ljava/lang/Long;-><init>(J)V

    invoke-virtual {v2}, Ljava/lang/Long;->longValue()J

    move-result-wide v2

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V

    const-string v1, "feeddetail_title"

    const-string v2, "\u58a8\u8ff9\u8d44\u8baf"

    .line 462
    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "feeddetail_rec_json"

    .line 463
    iget-object v2, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->a:Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;

    iget-object v2, v2, Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;->rec_json:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "feeddetail_from_type"

    const/4 v2, 0x2

    .line 464
    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    const-string v1, "feeddetail_similar_recommend"

    const/4 v2, 0x1

    .line 465
    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    const-string v1, "feeddetail_feed_url"

    .line 466
    iget-object v3, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->a:Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;

    iget-object v3, v3, Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;->full_feed_url:Ljava/lang/String;

    invoke-virtual {v0, v1, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "feeddetail_feed_item"

    .line 467
    iget-object v3, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->a:Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;

    invoke-virtual {v0, v1, v3}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    .line 468
    invoke-virtual {p1, v0}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    .line 469
    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->b:Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;

    iget-object v0, v0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->c:Landroid/content/Context;

    invoke-virtual {v0, p1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    .line 470
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->b:Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;

    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->a:Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;

    invoke-static {p1, v0}, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->a(Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;)V

    .line 474
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->a:Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;

    if-eqz p1, :cond_3

    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->a:Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;

    iget p1, p1, Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;->show_type:I

    const/4 v0, -0x2

    if-eq p1, v0, :cond_3

    .line 476
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->a:Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;

    iget p1, p1, Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;->show_type:I

    const/4 v0, 0x7

    const/16 v1, 0xfa8

    if-eq p1, v0, :cond_2

    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->a:Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;

    iget p1, p1, Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;->show_type:I

    const/16 v0, 0x9

    if-ne p1, v0, :cond_1

    goto :goto_1

    .line 480
    :cond_1
    invoke-static {}, Lcom/moji/mjad/statistics/StatReportManager;->a()Lcom/moji/mjad/statistics/StatReportManager;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->a:Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;

    iget-object v0, v0, Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;->full_feed_url:Ljava/lang/String;

    const/4 v2, 0x0

    invoke-virtual {p1, v0, v1, v2}, Lcom/moji/mjad/statistics/StatReportManager;->a(Ljava/lang/String;IZ)V

    goto :goto_2

    .line 477
    :cond_2
    :goto_1
    invoke-static {}, Lcom/moji/mjad/statistics/StatReportManager;->a()Lcom/moji/mjad/statistics/StatReportManager;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$3;->a:Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;

    iget-object v0, v0, Lcom/moji/http/fdsapi/entity/SimilarRecommendList$Item;->full_feed_url:Ljava/lang/String;

    invoke-virtual {p1, v0, v1, v2}, Lcom/moji/mjad/statistics/StatReportManager;->a(Ljava/lang/String;IZ)V

    :cond_3
    :goto_2
    return-void
.end method
