Skip to content

Instantly share code, notes, and snippets.

@shunsugai
Created August 30, 2012 05:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shunsugai/3522783 to your computer and use it in GitHub Desktop.
Save shunsugai/3522783 to your computer and use it in GitHub Desktop.
ブラウザで閉じてまたもどっても再読み込みしないための設定
// Call from Activity
String url;
public void loadUrl(String url) {
if (mWebView == null) return;
if (this.url == null) {
mWebView.loadUrl(url);
this.url = url;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment