From de172fac4219877c9d7fc6fc283d5caf456cb2e4 Mon Sep 17 00:00:00 2001 From: Lindroy Date: Mon, 29 Apr 2019 09:43:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=86=85=E5=AE=B9=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E4=B8=BA=E7=A9=BA=E7=9A=84=E7=9B=91=E5=90=AC=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E4=B8=8D=E8=B5=B7=E4=BD=9C=E7=94=A8=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/codeStyles/codeStyleConfig.xml | 1 + easyedittext/src/main/java/com/lindroid/view/EasyEditText.java | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml index a55e7a1..6e6eec1 100644 --- a/.idea/codeStyles/codeStyleConfig.xml +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -1,5 +1,6 @@ + \ No newline at end of file diff --git a/easyedittext/src/main/java/com/lindroid/view/EasyEditText.java b/easyedittext/src/main/java/com/lindroid/view/EasyEditText.java index 03134dd..87f6fd5 100644 --- a/easyedittext/src/main/java/com/lindroid/view/EasyEditText.java +++ b/easyedittext/src/main/java/com/lindroid/view/EasyEditText.java @@ -15,7 +15,6 @@ import android.text.method.HideReturnsTransformationMethod; import android.text.method.PasswordTransformationMethod; import android.util.AttributeSet; -import android.util.Log; import android.view.MotionEvent; import android.view.inputmethod.EditorInfo; import android.widget.Toast; @@ -394,7 +393,6 @@ public String getMaxCharsAlert() { } public void setMaxCharsAlert(@NonNull String alert) { - Log.e(TAG, "alert=" + alert); maxCharsAlert = alert; } @@ -540,6 +538,7 @@ public interface OnEmptyChangeListener { */ public void setEmptyChangeListener(OnEmptyChangeListener listener) { emptyListener = listener; + setTextWatcher(); } /**