So, I understand the service life cycle and all that. But am I confused by what for the startId parameter?
public int onStartCommand (Intent intent, int flags, int startId)
I understand that it is used together with stopSelf(int) , but I donβt see what kind of point it is or where startId is created. What use case would stopSelf (int) use?
android service lifecycle
Falmarri
source share