Using SharedPreferences Anywhere in Android app

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[…]

Validation for Email and Password

iOS/Swift Validate Email and Password Format

Here’s a couple of quick functions I use in a few forms in different projects. They’re pretty common and can be found other places. I based these on various things I’ve found online. So, like most things, I can’t take 100% credit but we all learned things from somewhere. The first is an email validator. Read more about iOS/Swift Validate Email and Password Format[…]