Created
April 18, 2017 19:01
-
-
Save yishai-glide/182db2afa4c410fada03be0a4048ce8b 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
public class MainActivity extends ActivityCompat { | |
/* | |
* ACTIVITY CODE | |
*/ | |
public String getStiredValue() { | |
SharedPreferences prefs = context.getSharedPreferences(PREFS, MODE_PRIVATE); | |
return prefs.getString(KEY, DEF_VALUE); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment