AgentWeb
AgentWeb copied to clipboard
打开微博热搜具体的条目一直提示页面加载出错,其他网页都很好
mAgentWeb = AgentWeb.with(this) .setAgentWebParent(mLinearLayout, new LinearLayout.LayoutParams(-1, -1)) .useDefaultIndicator() .setWebChromeClient(mWebChromeClient) .setWebViewClient(mWebViewClient) .setMainFrameErrorView(R.layout.agentweb_error_page, -1) .setSecurityType(AgentWeb.SecurityType.STRICT_CHECK) .setWebLayout(new WebLayout(this)) .setOpenOtherPageWays(DefaultWebClient.OpenOtherPageWays.ASK)//打开其他应用时,弹窗咨询用户是否前往其他应用 .interceptUnkownUrl() //拦截找不到相关页面的Scheme .createAgentWeb() .ready() .go(getUrl());
求解作者大大我这个设置上有什么问题吗?? 示例网址:https://s.weibo.com/weibo?q=%23%E6%B0%B4%E6%9E%9C%E5%A7%90%E5%A5%B6%E5%A5%B6%E5%8E%BB%E4%B8%96%23\u0026Refer=top