1
2
private static final String MY_PREFS = "mypreferences";
private static final String USERNAME = "username";
Store data using Android’s SharedPreferences and retrieve the data using static variables.
#android #sharedPreferences #java #data
#android #sharedPreferences #java #data
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.