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
ispmanager.com -
Nikola -
Dev APIs -
Yasir Jafri -
Top comments (0)