当我们在android中翻转webview时,如何在webview中显示加载图标
实际上我的应用程序有 3 个网页视图,我们可以浏览它。我在每个网络视图上添加了一个加载进度条。现在,当我启动应用程序时,会加载第一个网页视图。我无法翻转视图,因为加载符号位于前台。我的要求是,webview 必须显示加载符号直到加载,并且可以翻转到其他再次具有加载符号的 webview。
我厌倦了尝试一切却无法做到。请任何人有任何解决方案。 提前致谢....
Actually my app hase 3 webviews and we can flip through it. I had added a loading progress bar on each webview. Now when i start the app, first web view loads. I am not able to flip the views as loading symbol is in foreground. My requirement is, webview have to show loading symbol until it loads as well as it can be flipped to other webviews which again have loading symbol.
I am tired of trying everything but not able to do it. Please anyone have any solution.
Thanks in advance....
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当加载符号到来时我们不能做任何事情。我们必须通过后退按钮取消它才能做其他事情。我通过在 XML 中创建进度条并根据要求执行使其可见和不可见的逻辑来解决这个问题。
We can't do anyting when loading symol comes.we have to cancel it by back button for doing anything else. I had solved this by creating a progress bar in XML and doing a logic for making it visible and invisible according to requirement.