I have a textview with link included as an a
tag. In string.xml I have string like this - This is my text view with <a href="url">link</a>
I want to programmatically check whether textview has this link and whether it is clickable. If I try using textview.getText().toString()
it will convert html to plain text (not raw html) and remove all the links.
Is there any way I can check this? The second part is, I can manually verify that the link is clickable, but I want to programmatically verify whether the link is working. How do I do that?
Thanks to @Andy