Commit fdf9640a by konghaorui

Merge branch 'feature/v3' of…

Merge branch 'feature/v3' of ssh://gitlab.yidianling.com:2224/app_android_lib/YDL-Component into feature/v3
parents 4d124e17 40cea21d
...@@ -64,6 +64,8 @@ public class PhoneEditText extends android.support.v7.widget.AppCompatEditText { ...@@ -64,6 +64,8 @@ public class PhoneEditText extends android.support.v7.widget.AppCompatEditText {
} }
} }
setText(sb.toString()); setText(sb.toString());
if (index > sb.length())
index = sb.length();
setSelection(index); setSelection(index);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment