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
Philip -
Khan Rabiul -
mridul037 -
mridul037 -
Top comments (0)