.class final Lcom/moji/forum/common/ForumUtil$1;
.super Landroid/text/style/ClickableSpan;
.source "ForumUtil.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;Ljava/lang/String;Ljava/util/ArrayList;Ljava/util/ArrayList;)Landroid/text/SpannableString;
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/http/mqn/entity/SidItem;

.field final synthetic b:Landroid/content/Context;


# direct methods
.method constructor <init>(Lcom/moji/http/mqn/entity/SidItem;Landroid/content/Context;)V
    .locals 0

    .line 362
    iput-object p1, p0, Lcom/moji/forum/common/ForumUtil$1;->a:Lcom/moji/http/mqn/entity/SidItem;

    iput-object p2, p0, Lcom/moji/forum/common/ForumUtil$1;->b:Landroid/content/Context;

    invoke-direct {p0}, Landroid/text/style/ClickableSpan;-><init>()V

    return-void
.end method


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

    .line 373
    iget-object p1, p0, Lcom/moji/forum/common/ForumUtil$1;->a:Lcom/moji/http/mqn/entity/SidItem;

    iget-object p1, p1, Lcom/moji/http/mqn/entity/SidItem;->snsId:Ljava/lang/String;

    .line 374
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 375
    iget-object v0, p0, Lcom/moji/forum/common/ForumUtil$1;->b:Landroid/content/Context;

    invoke-static {v0, p1}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method public updateDrawState(Landroid/text/TextPaint;)V
    .locals 1

    .line 365
    invoke-super {p0, p1}, Landroid/text/style/ClickableSpan;->updateDrawState(Landroid/text/TextPaint;)V

    const-string v0, "#7ebbfd"

    .line 366
    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {p1, v0}, Landroid/text/TextPaint;->setColor(I)V

    const/4 v0, 0x0

    .line 367
    invoke-virtual {p1, v0}, Landroid/text/TextPaint;->setUnderlineText(Z)V

    return-void
.end method
