Created
August 30, 2012 05:29
-
-
Save shunsugai/3522783 to your computer and use it in GitHub Desktop.
ブラウザで閉じてまたもどっても再読み込みしないための設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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