Open sumeet-mibo opened 4 years ago
为什么不试试 intentservice 来处理所有的连接,然后 保存订阅的实例到application, 配合 eventbus , 哦豁,起飞
Why not try intentservice to handle all connections, and then
Save the subscription instance to the application,
With eventbus,
Oh, whoa, take off
如果你这么做的话,你要注意eventbus在activity和intentservice中eventbus订阅的的浸泡和脱水,然后在自己的结束周期停止服务
If you do this, you should pay attention to the soaking and dehydration of eventbus subscription in activity and intentservice, and then stop the service in its own end cycle
I am getting this exception when writing data