Skip to content
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

onTokenAdded not called with cursoradapter #400

Open
slowcar opened this issue Apr 24, 2020 · 3 comments
Open

onTokenAdded not called with cursoradapter #400

slowcar opened this issue Apr 24, 2020 · 3 comments
Milestone

Comments

@slowcar
Copy link

slowcar commented Apr 24, 2020

We use TokenCompleteTextView with a cusoradapter to provide a lookup.
When an item from the adapter is selected tokenAdded is not called after we updated from 2.0.8 to 3.0.1
This worked before.

@mgod
Copy link
Contributor

mgod commented Apr 24, 2020

The only thing I can think of that might be different here is that if you are preventing duplicates in the 3.* version, it doesn't call onTokenAdded any more.

@slowcar
Copy link
Author

slowcar commented Apr 24, 2020

I do that as in the example text by overriding shouldIgnoreToken.
onTokenAdded is not fired for the first token though, so there is nothing to duplicate.

@splitwise splitwise deleted a comment from alejagapatrick May 28, 2020
@mgod
Copy link
Contributor

mgod commented May 28, 2020

I've been able to reproduce this, so hopefully I'll be able to put together a solution soon.

@mgod mgod added this to the 4.0.0 milestone Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants