When to use AIDL vs Messenger Queue?
When to use AIDL vs Messenger Queue?
Here is the answer to the Android interview question "When to use AIDL vs Messenger Queue?":
AIDL is used when you need application-level communication to share data and control between processes. For example, an app requires a list of all contacts from the Contacts app and also wants to display the call duration and be able to disconnect it from that app.
In the case of Messenger Queue, you mainly work on multiple threads and processes to manage the queue containing messages so that there is no interference from external services.
Đăng nhập để tham gia thảo luận cùng mọi người.
Chưa có bình luận nào
Hãy là người đầu tiên chia sẻ suy nghĩ của bạn.