问题
I have a TextView which I fill with HTML and linkify it then. Some of the links in HTML are in special format and meant to be links to other activities in my project, not normal URL links. Is it possible to intercept clicks on such links in TextView and do custom action in case the link is in special format?
Thanks.
回答1:
A question about how to manage link click has already been post and should answer your question. Here is the link : handle textview link click in my android app
来源:https://stackoverflow.com/questions/4320561/android-start-activity-via-link-in-textview