Closed cfsbhawkins closed 3 years ago
Thanks @cfsbhawkins, but I'm trying to keep this library a drop-in replacement for LinkMovementMethod
. Adding linkify()
functions were a mistake that I regret. A movement method library shouldn't be in the business of adding link spans to TextView, so I'll have to decline this. Sorry!
I should deprecate the linkify
functions so that people stop using them and rely on framework APIs directly instead.
closes: #31
Works when you use something like:
tvTaskDescription.text = HtmlCompat.fromHtml(task.description!!, HtmlCompat.FROM_HTML_MODE_LEGACY) BetterLinkMovementMethod.linkify(Linkify.ALL, tvTaskDescription)