I am building an application (aidl service) that will be called through code in an Activity (Activity will be written by someone else and I have no control over it).
Activity creates a binding to the service, call methods on the service and get the result back via callbacks.
If the activity orientation changes, it will have to bind to the service again, but the previous callbacks will be lost.
What is the best way to handle activity orientation changes on the binded service.