splitwise / TokenAutoComplete

Gmail style MultiAutoCompleteTextView for Android
Apache License 2.0
1.3k stars 383 forks source link

Add a SelectAndDelete Token deletion mode #243

Open xrigau opened 8 years ago

xrigau commented 8 years ago

What this does is: When you press the delete key it'll first select the token on the left to the cursor and then pressing the delete key again will actually delete the token.

Del -> Select the token -> Del -> Removes the token

Demo using the SelectAndDelete mode
mgod commented 8 years ago

I like this fix, but it shouldn't be a deletion style. This should just be how it works if the TokenClickStyle is selectable (returns true from isSelectable()).