Is it ok to use bindService more than once with the same context to the same service ?
Can I use bindService multiple times with the same context to the same service and unBindService only once ?
Thanks
Is it ok to use bindService more than once with the same context to the same service ?
Can I use bindService multiple times with the same context to the same service and unBindService only once ?
Thanks
It doesn't matter how many time you call bindService if you use same context and the service is connected at the moment, android just ignore your call So you can just only bind to a service once with same context and unbind only once
When you call bind service the android framework check if the context is bind or not if the context is bind the android just ignore the call