Created
August 15, 2014 21:58
-
-
Save koalahamlet/17f6a2f6a5c51da8ee49 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
private void setAccountName(String name) { | |
mAccountName = name; | |
SharedPreferences settings = getSharedPreferences(SHARED_PREFS, 0); | |
SharedPreferences.Editor editor = settings.edit(); | |
editor.putString(ACCT_NAME, mAccountName); | |
editor.commit(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment