Hi, Vishnu,
Currently, You have two options to use:
    /**
     * Normal reload mode as default.
     * @since 1.0
     */
    public final static int RELOAD_NORMAL = 0;

    /**
     * Reloads the current page content.
     * This version ignores the cache and reloads from the network.
     */
    public final static int RELOAD_IGNORE_CACHE = 1;

From: Vishnu Prakash [mailto:[email protected]]
Sent: Wednesday, May 20, 2015 5:36 PM
To: [email protected]; Xu, Xing
Cc: Kaushik Sindhu
Subject: Ask: mode value while reloading the current url in XWalkView reload 
method

Hi CrossWalk team,

Can you please help me understand with the documentation of the method in 
XWalkView.

   public void reload(int mode)
    {
        ReflectionHelper.invokeMethod(reloadintMethod, bridge, new Object[] {
            Integer.valueOf(mode)
        });
    }

The corresponding Android method does not take any argument and reloads the 
current url. What is the advised parameter for the mode in above method to 
exactly map with the Android reload().

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

Reply via email to