Thanks for trying crosswalk.
Currently XWalkSettings is not available.
We are investigating about this. Could you please put comments about the needed 
API  at https://crosswalk-project.org/jira/browse/XWALK-4395?

Regards,
Xing

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of Chris 
Hall
Sent: Thursday, June 18, 2015 7:28 PM
To: [email protected]
Subject: [Crosswalk-help] ASK: How to setCacheMode

Hi,

I've just about completed a migration from android webview to crosswalk 
embedded using the latest stable. The final thing I need to do is repliace what 
webView.getSettings.setCacheMode() was doing.
I can only see this through the XWalkSettings class. Not quite sure how to 
instantiate it correctly though.
Have been trying

xWalkSettings = new XWalkSettings(mainWebView.getContext(), null , false);

Inside OnCreate in MainActivity. Don't think this is working though!

What's the correct way to achieve this?

Thanks,
Chris


_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to