如何打开新活动的 WebView 链接?
如何打开网页中指向新活动的链接(也包含 WebView)?
我有一个网页,其中有列表,每个列表项都包含不同的链接。所以我希望当用户按下第一个项目时,它会打开第二个活动并将该链接加载到第二个活动的 WebView。希望你明白我想问的问题:)
这可能吗?
How do I open link in webpage to new activity (what contains WebView aswell)?
I have webpage where is list and every list item contain different link. So I want that when user press first item it opens second activity and load that link to second activity's WebView. Hope you understand what I try to ask :)
Is that possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以覆盖 URL 链接点击并在每次点击时打开一个活动:
You can override the URL link clicks and open an activity on each click: