I have an Activity that needs to save a single primitive (not an object) that is used to alter the UI in onResume(). I store this primitive in a separate class with a static variable reference. I realize I could use SharedPreferences to store this variable, however, what I want to know is if using the static variable to hold this primitive could potentially create problems.
Thanks to everyone for their input.