I'm using extending application class on Android to share my data across the entire app.
I can use getApplication() method from all my activities.
However, there are certain custom helper classes I created; for example, an XMLHelper class which does not inherit from any activity / service class.
Here the getApplication() method is not available.
How do I sort this out and what are the best design practices to solve this?
 
     
     
     
     
     
     
     
     
     
     
     
     
     
    