Closed boldijar closed 1 year ago
I have the same issue and would love for this to be supported. To work around the problem, I ended up converting the simple links to markdown links before I load the view. Something similar to the below.
val pattern = "(?<!\\]\\()(http[s]{0,1}:\\/\\/[a-zA-Z0-9@:%._\\+~#=]{2,256}\\.[a-zA-Z]{2,6}\\b([-a-zA-Z0-9@:%_\\+.~#?&\\/=]*))"
markdown = markdown.replace(Regex(pattern), "[\$1](\$1)")
Expected behavior: I can see both markdown links and regular links
Actual behavior: I can only click markdown links
Let's say we have this text:
I would like to be able to see both links and click them. With no textview configuration only the markdown links work, and If I add
To the textview, I will only be able to click the plain URL from the last line.
Is there a way to be able to support both?