Skip to content

onTokenAdded not called with cursoradapter #400

Description

@slowcar

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.

Activity

  1. mgod commented on Apr 24, 2020

    @mgod
    Contributor

    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.

  2. slowcar commented on Apr 24, 2020

    @slowcar
    Author

    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.

  3. mgod commented on May 28, 2020

    @mgod
    Contributor

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

  4. added this to the 4.0.0 milestone on Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions