I have some classes within my application that need to call Android functions that require the Context as a parameter. I don't have it as the class is not a subclass of the Activity class.
What is the correct way to tackle this problem?
- Pass it as a parameter on each call?
- Pass it at class instantiation and keep it?