[TIMOB-14349] Android: WebView, expose setCacheMode
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-08-19T21:24:31.000+0000 |
| Affected Version/s | Release 3.1.1 |
| Fix Version/s | 2013 Sprint 17, 2013 Sprint 17 API, Release 3.2.0 |
| Components | Android |
| Labels | module_webview, qe-testadded |
| Reporter | Radamantis Torres-Lechuga |
| Assignee | Hieu Pham |
| Created | 2013-06-22T00:13:21.000+0000 |
| Updated | 2013-10-23T23:15:14.000+0000 |
master PR: https://github.com/appcelerator/titanium_mobile/pull/4510
Test case:
var win = Ti.UI.createWindow(); var webView = Ti.UI.createWebView({ url: "http://www.google.com", cacheMode: Ti.UI.Android.WEBVIEW_LOAD_NO_CACHE, }); Ti.API.info("Cache mode property: " + webView.cacheMode); Ti.API.info("Cache mode method: " + webView.getCacheMode()); win.add(webView); win.open();