| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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 android.highlightColor, but when you override the span's background color, the highlight color never appears. This means we would not be able to create a span with a background that highlights. 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. |
Sorry, something went wrong.
|
Hi @edusperoni! |
Sorry, something went wrong.
|
@shiv19 Absolutely, I used CliackableSpan because Android actually defines it like that (https://developer.android.com/reference/android/text/style/ClickableSpan). I'll update it to match TappableSpan |
Sorry, something went wrong.
…into clickablespan
…into clickablespan
|
Hello ! Great improvement, look forward to it being implemented :) Thank you very much for your work. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
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 linkClick event which, when bound, makes it possible for it to be interacted with via tap.
Implements #3671.