Skip to content

Add content watcher for aztec text#887

Merged
planarvoid merged 5 commits intodevelopfrom
feature/add-content-watcher-for-aztec-text
Jan 2, 2020
Merged

Add content watcher for aztec text#887
planarvoid merged 5 commits intodevelopfrom
feature/add-content-watcher-for-aztec-text

Conversation

@planarvoid
Copy link
Copy Markdown
Contributor

This PR adds an option to register an observer for all the changes to the AztecText object. This is used to save the content on every content change. Pure TextWatcher doesn't work for the span changes and this solution should work for everything. I've added unit tests to test the new content change watcher.

Make sure strings will be translated:

  • If there are new strings that have to be translated, I have added them to the client's strings.xml as a part of the integration PR.

Copy link
Copy Markdown
Contributor

@malinajirka malinajirka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @planarvoid! The changes look great;).

I really like the "garbage collection" test ❤️ !

Feel free to merge it when the lint issue is fixed 🚢

@planarvoid planarvoid merged commit d2baefd into develop Jan 2, 2020
@planarvoid planarvoid deleted the feature/add-content-watcher-for-aztec-text branch January 2, 2020 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants