onSend

inline fun EditText.onSend(crossinline action: (text: String) -> Unit)

Both sets the EditText.setImeOptions to "Send" and listens for the IME action.