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

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


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

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


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


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

    .line 296
    iput-object p1, p0, Lcom/moji/mjweather/feed/adapter/SubjectRelativeArticleAdapter$2;->a:Lcom/moji/mjweather/feed/adapter/SubjectRelativeArticleAdapter;

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

    return-void
.end method


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

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

    move-result v0

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

    if-ne v0, v1, :cond_0

    .line 300
    iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/SubjectRelativeArticleAdapter$2;->a:Lcom/moji/mjweather/feed/adapter/SubjectRelativeArticleAdapter;

    invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/SubjectRelativeArticleAdapter;->a(Lcom/moji/mjweather/feed/adapter/SubjectRelativeArticleAdapter;)Landroid/content/Context;

    move-result-object p1

    check-cast p1, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;

    const/4 v0, 0x0

    .line 301
    invoke-virtual {p1, v0}, Lcom/moji/mjweather/feed/FeedSubjectDetailActivity;->startComment(Lcom/moji/http/snsforum/ILiveViewComment;)V

    goto :goto_0

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

    move-result v0

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

    if-ne v0, v1, :cond_1

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

    move-result-object p1

    check-cast p1, Lcom/moji/http/fdsapi/entity/SubjectComment$Comment;

    .line 308
    invoke-static {}, Lcom/moji/account/data/AccountProvider;->a()Lcom/moji/account/data/AccountProvider;

    move-result-object v0

    iget-object v1, p0, Lcom/moji/mjweather/feed/adapter/SubjectRelativeArticleAdapter$2;->a:Lcom/moji/mjweather/feed/adapter/SubjectRelativeArticleAdapter;

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

    move-result-object v1

    iget-wide v2, p1, Lcom/moji/http/fdsapi/entity/SubjectComment$Comment;->sns_id:J

    invoke-virtual {v0, v1, v2, v3}, Lcom/moji/account/data/AccountProvider;->a(Landroid/content/Context;J)V

    :cond_1
    :goto_0
    return-void
.end method
