List of usage examples for android.webkit WebView getTag
@ViewDebug.ExportedProperty
public Object getTag()
From source file:com.ubiLive.GameCloud.Browser.WebBrowser.java
/** * release the webview url/*from www. ja v a 2 s . co m*/ */ public void reload(String reloadUrl) { if (!sBCurrentActivityStatus) { return; } DebugLog.d(TAG, "0829 reload() enter"); int size = mChildViewList.size(); if (size > 1) { for (int i = 0; i < (size - 1); i++) { WebView child = (WebView) mChildViewList.get(i).findViewById(GameActivityRes.ID_CHILD_WEBVIEW); if (child.getTag() != null) { child.loadUrl(child.getTag().toString()); child.setTag(null); } else { child.reload(); } } } // String reloadUrl = Utils.checkUrl(GameInfo.DEFAULT_URL); mWebView.loadUrl(reloadUrl); }