preLOAD的WebView [英] preload webview

查看:442
本文介绍了preLOAD的WebView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个web视图和我接下来的previous按钮,进入下一个或previous图片。 我想要做的,如果可能的是:我可以显示的第一张照片,但web视图负载(在后台的其它照片(其它URL),这样可在当需要一个新的图像缓存谢谢

I have a webview and i have next previous buttons to get to the next or previous picture. What i want to do if possible is : Can i display the first picture but the webview loads (in the background the other pictures(other URLS) so that are available in the cache when a new picture is needed. Thank you

推荐答案

如果你使用这是可能的两个 Webviews ViewFlipper 它们之间切换。

This is possible if you use two Webviews and a ViewFlipper to change between them.

此方式,而用户观看一个,另一个正在加载的内容。而翻转时(您需要执行),它会弹出瞬间加载的图像。

This way while the user looks at one, the other is loading the content. And when flips(you need to implement) it will bring up instantly the loaded image.

这篇关于preLOAD的WebView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆