Skip to content

maxLength属性引起的崩溃问题 #19

Description

@SuperChandler

当EditText增加了maxLength属性时,当EditText输入达到maxLength值时,切换到标点,再输入一个标点就会崩溃。

KebboardUtil中的内部类OnKeyboardActionListener的onText方法,需要增加判断ed.getText()的长度是否大于maxLength的长度。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions