Monday, 25 March 2019

LiveData using ViewModel for aidl Remote service callbacks

I have an activity binded to the aidl service. Activity passes data to the aidl remote service. Remote service passes data back to activity using callbacks.

I want to preserve data that is passed from service to activity using LiveData and ViewModel.

enter image description here

Is there a good design for this problem?



from LiveData using ViewModel for aidl Remote service callbacks

No comments:

Post a Comment