Thanks to @andy
textview.getUrls() gets you the spannable URLs in the text view - so in your example it would return an array of length 1 and [0].getUrl() would return "url".
((TextView) v).getUrls()[0].getURL()
Thanks to @andy
textview.getUrls() gets you the spannable URLs in the text view - so in your example it would return an array of length 1 and [0].getUrl() would return "url".
((TextView) v).getUrls()[0].getURL()
For further actions, you may consider blocking this person and/or reporting abuse
Hunter Sides -
Mike Young -
Erick Okal -
Ben Santora -
Top comments (0)