Android/Java – SharedPreferences from anywhere in your App
Coming from iOS, I’m used to having access to UserDefaults anywhere in my code for storing user settings and such. Android requires a context to access SharedPreferences – pain. SharedPreferences from anywhere in your App So I created a Constants class that takes a context, creates a singleton and then allows for various Read more about Android/Java – SharedPreferences from anywhere in your App[…]