saket / Better-Link-Movement-Method

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

Not work at all #44

Closed DanteAndroid closed 3 years ago

DanteAndroid commented 3 years ago
  BetterLinkMovementMethod.linkify(Linkify.ALL, textView).setOnLinkClickListener { textView, url ->
                    println("onLinkClick $url")
                    false
                }
  textView.text = "https://www.google.com"

Environment: Emulator API 30 Library: 2.2.0

DanteAndroid commented 3 years ago

Damn, I move the setText before the linkify and it works great. Sorry to bother.

Mrjayy2323 commented 3 years ago

What who's this--Sent from my Android phone with GMX Mail. Please excuse my brevity.On 8/23/21, 12:21 AM Dante @.***> wrote:

Damn, I move the setText before the linkify and it works great. Sorry to bother. —You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.