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.
我想在自定义加载时将网页保存在 sdcard 中WebView,下次加载相同的 url 我想从缓存中加载它,网页中的更新应该保存在缓存中。
WebView
请尝试使用Asynchtask并下载html文件,将代码直接放入doBackground方法并在onPostExicute方法中设置html。