saket / Better-Link-Movement-Method

Attempts to improve how clickable links are detected, highlighted and handled in TextView
Apache License 2.0
783 stars 77 forks source link

linkifyHtml and linkify (WER_URLS) are not working together #25

Closed jamolkhon closed 6 years ago

jamolkhon commented 6 years ago

I have texts with <a href="url">abc</a> and urls that are not inside tag. I would like to turn both to spannable links. So far it's not working. Only linkifyHtml is being applied.

saket commented 6 years ago

Whoops, I completely missed this. @jamolkhon did you manage to solve this? If not, can you share your full string, how you're applying it to your TextView and how BetterLinkMovementMethod is set?

jamolkhon commented 6 years ago

No, I tried a few variations. Also tried to reorder linkify method calls. It didn't help. Currently, I'm turning urls to tags then using only linkifyHtml.

saket commented 6 years ago

Cool 👍