I have created a foreground service, which is working perfectly and performs tasks in the background,
But whenever I call startForegroundService
onCreate method is getting called.
As I know and according to documentation, Service is a kind of singleton class but still, multiple instances are getting created.
Does anyone have any idea How can I avoid multiple instances of service??