Code example for EditText

Methods: getTextgetSelectionEndgetSelectionStart