技术栈
回调管理
zh_xuan
3 小时前
binder
·
回调管理
Binder双向通信4 ---- RemoteCallbackList
RemoteCallbackList 是 Android 提供的专门管理跨进程回调的容器。继续修改下RemoteService,使用RemoteCallbackList管理跨进程回调,替换掉那个ArrayList的callback容器。RemoteService代码如下:
我是有底线的