이준학
12/28/2021, 2:50 PMI am currently developing an android service app. A problem arose while developing a foreground service app. This is the situation when the activity gets data from the service. One way is to use a bind service and call a method from the service instance.
Another way is to get data using intents.
I've searched a lot, but almost all of them are using intents. If the lifecycle fits well, isn't it convenient and good to call a function as a bind service? I'd like to hear your opinion.
(In the service, it does not actually work, but creates and manages a working thread.)
FunkyMuse
12/28/2021, 3:31 PM이준학
12/29/2021, 1:06 AMFunkyMuse
12/29/2021, 8:26 AM