Skip to content

EditTextUtils

Shanti Ranjan Das edited this page Apr 5, 2020 · 3 revisions
  • isEmpty(et: EditText): Boolean
    Returns true if EditText is empty.

  • hideKeyboard()
    Hide the keyboard, Requires EditText object to perform operation.

  • showKeyboard()
    Show the keyboard, Requires EditText object to perform the operation.

  • textString()
    Get string text of edit text.

  • trimmedText()
    Get string by removing text in it.

Clone this wiki locally