Created
January 13, 2018 13:32
-
-
Save skydoves/a356fafe0e459473807da375b68f5974 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
Preference_UserProfile userProfile = Preference_UserProfile.getInstance(this); | |
userProfile.putNickname("my nickname"); // puts a SharedPreference in NickName key. | |
userProfile.getNickname(); // gets a SharedPreference value in NickName key. | |
userProfile.containsNickname(); // checks nickname key value is exist in SharedPreference. | |
userProfile.removeNickname(); // removes nickname key's value in SharedPreference. | |
userProfile.nicknameKeyName(); // returns nickname fields's key name. | |
userProfile.getEntityName(); // returns UserProfile entity's name; | |
userProfile.getkeyNameList(); // returns UserProfile entity's KeyName list of fields. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment