filterWhiteSpaces

fun <T : EditText> T.filterWhiteSpaces(onTextChanged: (String) -> Unit = {}): T

A keyboard handler for EditText that prohibits entering spaces, tabs, and so on