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

Workaround for view not being drawn Lollipop and higher #9

Merged
merged 2 commits into from
Apr 21, 2016
Merged

Workaround for view not being drawn Lollipop and higher #9

merged 2 commits into from
Apr 21, 2016

Conversation

dvdmunckhof
Copy link

Fixes #7

If the SpannableString consists solely of spans, the spans aren't being drawn, or something like that. Adding an Zero Width Space (\u200B) works around this.

References:

Dennis van den Munckhof added 2 commits April 21, 2016 15:59
Append \u200B (Zero Width Space) as a workaround.
Don't start the animation, animations will throw an exception in Preview mode.
@tajchert tajchert merged commit 0b844c1 into tajchert:master Apr 21, 2016
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

Successfully merging this pull request may close these issues.

2 participants