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
Alexander Uspenskiy -
Theerej C -
Ayush Shrivastava -
Louis Sanna -
Top comments (0)