.class Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView$1;
.super Ljava/lang/Object;
.source "LiveViewCommentInputView.java"

# interfaces
.implements Landroid/text/TextWatcher;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;->a(Landroid/content/Context;)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;)V
    .locals 0

    .line 56
    iput-object p1, p0, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView$1;->a:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

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

    return-void
.end method


# virtual methods
.method public afterTextChanged(Landroid/text/Editable;)V
    .locals 0

    return-void
.end method

.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
    .locals 0

    return-void
.end method

.method public onTextChanged(Ljava/lang/CharSequence;III)V
    .locals 0

    .line 64
    iget-object p1, p0, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView$1;->a:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    invoke-static {p1}, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;->b(Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;)Landroid/widget/TextView;

    move-result-object p1

    iget-object p2, p0, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView$1;->a:Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;

    invoke-static {p2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;->a(Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewCommentInputView;)Landroid/widget/EditText;

    move-result-object p2

    invoke-virtual {p2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p2

    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p2

    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p2

    xor-int/lit8 p2, p2, 0x1

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setEnabled(Z)V

    return-void
.end method
