I'm wondering how I would go about accessing the same int
variable between all my Activity
classes in my Android app. My situation is that I have a variable that represents a number of points and I've placed it in its own class and I want the value to be the same between every Activity
that uses it.
When the user gets a point, it increases by 1 so let's say the user gets 12 points, I want it to be the same throughout all the Activity
s.