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

How to set clickable span with staticLayout #28

Closed
ljcmeng opened this issue Apr 26, 2020 · 1 comment
Closed

How to set clickable span with staticLayout #28

ljcmeng opened this issue Apr 26, 2020 · 1 comment

Comments

@ljcmeng
Copy link

ljcmeng commented Apr 26, 2020

With textview, we can use clickable span by setMovementMethod.
How can we use it in custom view with staticLayout?

@xiphirx
Copy link
Contributor

xiphirx commented Apr 27, 2020

You can set a span on the text you give to TextLayoutBuilder in the same way.

@xiphirx xiphirx closed this as completed Apr 27, 2020
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

No branches or pull requests

2 participants