如何监视通过 GcmListenerService 启动的异步线程

How to monitor an asynchronous thread started via GcmListenerService

我想知道是否有人可以简要概述如何让我的主要 activity 与通过 GcmListenerService 启动的异步线程进行通信。这就是我正在做的...

我应该...吗?

这是不对的。一定有更好的方法吗?

尝试使用EventBus,它简化了你需要的通信。 https://github.com/greenrobot/EventBus