Major UI and usage improvements
Special thanks to @wdullaer on this release for their awesome work in pull request #90 on this one.
New features
setSplitChar
will let you change or add multiple characters to complete onperformBestGuess(false)
will disable guessing (based on the suggestions adapter)- When losing focus, the field will tokenize any remaining input if it is longer than
setThreshold
- Please give feedback here! Maybe it should just complete input always when losing focus?
clear
will remove all tokens in the field
Bug fixes
- It no longer takes 2 taps to show the keyboard
- Improved behavior on collapsing to one line
- Respect maxLines in XML (while still collapsing on focus loss)
- Respect ime actions set in XML (no more hardcoded done, no return button)
- Prevent extract UI in landscape, which doesn't show the token spans
- The +x count now correctly updates when the field is not focused