This is just a general question of knowledge - out of curiosity ...
In Android, when an activity and a service use the same static class (for example, singleton), does the service end up with its own “version” of the class?
For example, I put all my global constants in a static class. Are these memory cells created once for actions and again for individual processes such as a service?
source
share