(WIP) feat: TappableSpan support#7076
Conversation
Initial support for clickable span on Android
|
If possible, I'd like that the core team test this implementation on Android and validate it's styling, so I can replicate it on iOS. Challenges:
There's an option to use the usual link highlighting (some adaptations are needed, or we could depend on https://github.com/saket/Better-Link-Movement-Method) to get this effect: We could accomplish it by setting something like This is also not possible on iOS (at least not in a trivial way). If our goal is to have the same style on both platforms, we can skip this step. |
|
Hi @edusperoni! |
|
@shiv19 Absolutely, I used |
…into clickablespan
…into clickablespan
|
Hello ! Great improvement, look forward to it being implemented :) Thank you very much for your work. |
|
Closing in favor of #8256 |

PR Checklist
What is the current behavior?
There is no way to add links to Labels/TextViews.
What is the new behavior?
Span now has a
linkClickevent which, when bound, makes it possible for it to be interacted with via tap.Implements #3671.