Saket Narayan
Saket Narayan
Don't think this issue is specific to this library, sorry.
Huh, I wonder if my implementations of `linkify*()` functions are wrong. I'd advise to avoid using them in that case.
Does it work if you replace `BetterLinkMovementMethod` with the framework `LinkMovementMethod`?
> Does it work if you replace BetterLinkMovementMethod with the framework LinkMovementMethod? I meant: ``` textview.movementMethod = LinkMovementMethod.getInstance() ```
Whoops then it's unfortunately outside the control of `BetterLinkMovementMethod`
Try overriding its touch listener?
I don't think so. This library doesn't control the behavior of `URLSpan#onClick`. I'm pretty sure you'll get the same crash with `LinkMovementMethod`.
A `LinkMovementMethod` is only responsible for highlighting clicks, not inserting links into your text. You'll need to use `Linkify.addLinks()` before/after you've set the movement method. I should mention this in...
This doesn't sound like an issue with this library. Just to confirm: do you run into this error even when using vanilla `LinkMovementMethod`?
That's a weird error. Does this not happen with the platform `LinkMovementMethod`?