Just recently I discovered `InputFilter` class - i...
# android
d
Just recently I discovered
InputFilter
class - it's very valueable when you need to restrict user input. Though this is pre-validation, but also kinda part of it. And their API is stateless => great for unit testing