SmartHomeFeedbackFragment$3.smali

.class Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment$3;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/text/TextWatcher;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;->handleInput(Landroid/widget/EditText;)V
.end annotation

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


# instance fields
.field final synthetic this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;


# direct methods
.method constructor <init>(Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;)V
    .registers 2

    iput-object p1, p0, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment$3;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;

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

    return-void
.end method


# virtual methods
.method public afterTextChanged(Landroid/text/Editable;)V
    .registers 6

    const/4 v0, 0x1

    const/4 v1, 0x0

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

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

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

    move-result v2

    if-eqz v2, :cond_24

    iget-object v2, p0, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment$3;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;

    # getter for: Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;->mSubmitTv:Landroid/widget/TextView;
    invoke-static {v2}, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;->access$200(Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;)Landroid/widget/TextView;

    move-result-object v2

    iget-object v3, p0, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment$3;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;

    # invokes: Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;->isEditTextEmpty()Z
    invoke-static {v3}, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;->access$100(Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;)Z

    move-result v3

    if-nez v3, :cond_22

    :goto_1e
    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setEnabled(Z)V

    :goto_21
    return-void

    :cond_22
    move v0, v1

    goto :goto_1e

    :cond_24
    iget-object v2, p0, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment$3;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;

    # invokes: Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;->isEditTextEmpty()Z
    invoke-static {v2}, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;->access$100(Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;)Z

    move-result v2

    if-eqz v2, :cond_36

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment$3;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;

    # getter for: Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;->mSubmitTv:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;->access$200(Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;)Landroid/widget/TextView;

    move-result-object v0

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

    goto :goto_21

    :cond_36
    iget-object v1, p0, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment$3;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;

    # getter for: Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;->mSubmitTv:Landroid/widget/TextView;
    invoke-static {v1}, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;->access$200(Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeFeedbackFragment;)Landroid/widget/TextView;

    move-result-object v1

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

    goto :goto_21
.end method

.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
    .registers 5

    return-void
.end method

.method public onTextChanged(Ljava/lang/CharSequence;III)V
    .registers 5

    return-void
.end method