greenrobot/EventBus

Can't receive the message

everyline opened this issue · 2 comments

在一个页面打开的时候会收到其他几个页面发送来同样的EventMessageBean,但是EventMessageBean里面的type不一样,会导致只接收到一次数据,剩余的页面发送的都收不到
When opening a page will receive several other page is sent to the same EventMessageBean, EventMessageBean inside of different type, can cause only receives the data at a time, don't get to send the rest of the page
图片
图片

这个页面打开的时候会同时收到其他几个页面同时发来的消息,导致消息只能接收第一条,其他的都收不到。
When this page is opened, it will receive messages from several other pages at the same time, resulting in only the first message can be received, and the others cannot be received.

It appears you are using sticky events. To prevent receiving the same sticky event again, use removeStickyEvent. See the documentation.

Does that solve your issue?