I have TextView and it contain HTML with tags. I need to intercept user's clicks on this links, take value of "href" parameter, check it and open my activity if it local link or open browser if it link to another site.
I've try to search and find that, but I can't understand how to use it in my case.
Please, help.
There's this method: https://stackoverflow.com/a/3452944/1799219
All it's really doing is passing the link to your own activity (as links are normally passed to other activities) and then you extract the URL.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With