Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 webViewClient 中,我使用 shouldOverrideUrlLoading 来检查链接/url 并加载另一个活动,但是如何在 webChromeClient 中执行相同的技巧?
你不能在webChromeClient. 您必须同时设置webViewClient和webChromeClient。
webChromeClient
webViewClient