class CustomEditText : AppCompatEditText
This class extends the basic EditText and provides a custom InputConnection. The custom InputConnection dispatches a key event when the delete key is pressed with a soft keyboard The default EditText doesn't dispatch the delete key event after API 16, that is not considered as a bug https://developer.android.com/reference/android/view/KeyEvent.html
interface KeyEventListener |
CustomEditText(context: Context?, attrs: AttributeSet?)
This class extends the basic EditText and provides a custom InputConnection. The custom InputConnection dispatches a key event when the delete key is pressed with a soft keyboard The default EditText doesn't dispatch the delete key event after API 16, that is not considered as a bug https://developer.android.com/reference/android/view/KeyEvent.html |
var keyEventListener: CustomEditText.KeyEventListener? |
fun onCreateInputConnection(outAttrs: EditorInfo): InputConnection |