I understand that in order to access methods of a service from an activity, we should bind the service.
But if we just want to get the value of a variable in the service, can we just access it like so without binding?
int myActivityVar = myService.myServiceVar;
It works, but I’m not sure if it has any memory leak implications or any other issues.