Skip to content

Unable to test with Espresso #193

@nekdenis

Description

@nekdenis

If I call setText() then callback will never called

Callback onTokenAdded never called because instance of mText in TextView changed. In new instance of mText there is no TokenSpanWatcher in mSpans. So it is not enough to call
text.setSpan(spanWatcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
only in init() method. Maybe it is good idea to add it to setText() method

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions