I've a simple service that several of my activities need to access. The standard approach seems to be:
- Create ServiceConnection to specify what to do after binding [with the service object]
- call bindService with ServiceConnection
But that requires calling bindService at least once per activity. What if I call bindService exactly once, store the service object globally to allow for different activities to access it?
Is this bad practice? Why?