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

Add content watcher for aztec text #887

Merged
merged 5 commits into from
Jan 2, 2020

Conversation

planarvoid
Copy link
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
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