Closed franklinwesley closed 1 year ago
How is this different than any other service connection? Isn't the service part still the same?
Sorry the delay, answering your question, the bind is done internally by android and returns the service object by the provided callback. I need to inject this object into the viewmodel
How is this different than bindService? When the service gets connected, you will get a call back in ServiceConnection that you passed to it.. From that onServiceConnected callback you get the IBinder. Use that to create the Proxy
Thanks, it worked for me passing the iBinder to the proxy, I needed adjustments in my solution but your lib adapts perfectly to the new architecture, thank you very much
Hi, my solution uses multiples users on android and I have an AIDL server running on the owner user where the other users access it, I found this library and it would be perfect for new architecture that I'm implementing, but to access a service on another user is necessary bindAdminDeviceServiceAsUser, is it possible to ultiliza somehow? Or have any other suggestions?