Created
March 15, 2023 09:46
-
-
Save Dzendo/f37e770345a19540335a991f87842135 to your computer and use it in GitHub Desktop.
Declaralion and find SharedPreference from device
This file contains hidden or 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
// Declaralion and find SharedPreference from device | |
shPr = PreferenceManager.getDefaultSharedPreferences(this /* Activity context */) | |
// If you save values between sessions - then false (if there are none, then it will create) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment