-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate tokens after collapse and re-expand #218
Comments
I'm not able to reproduce this. In your example, are you using the example from this library or your own code? |
My own code following the example quite closely. I am also doing my own filtering of a listview so that i can display the list in the main part of the fragment instead of the dropdown. Do I need to set my adapter to the TokenAutoComplete for the list collapse to function properly? If so, how would I prevent the suggestion pop-up from displaying? This is how I am setting up my extended TokenAutoComplete: (composeRecipientView is my TokenAutoComplete)
|
I'm wondering if there's some specific configuration change you're making in your code that I'm not duplicating and that's why I can reproduce the issue. If you can reproduce the problem with a tweaked version of the example project, I should be able to recreate the issue. You might try setting the adapter on the token view and set |
This was completely re-written for version |
After entering enough tokens for the TokenAutoComplete to collapse, take focus away from it, then focus on it again so it expands. There are now duplicate tokens.
allowDuplicates set to false, and no duplicates entered initially.
Android 6.0.1
Nexus 6P
tokenautocomplete:2.0.7
The text was updated successfully, but these errors were encountered: