Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't receive the message #724

Open
everyline opened this issue Jan 11, 2024 · 2 comments
Open

Can't receive the message #724

everyline opened this issue Jan 11, 2024 · 2 comments
Labels
more info required Needs more info to become actionable.

Comments

@everyline
Copy link

在一个页面打开的时候会收到其他几个页面发送来同样的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
图片
图片

@everyline
Copy link
Author

这个页面打开的时候会同时收到其他几个页面同时发来的消息,导致消息只能接收第一条,其他的都收不到。
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.

@greenrobot-team
Copy link
Collaborator

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?

@greenrobot-team greenrobot-team added the more info required Needs more info to become actionable. label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more info required Needs more info to become actionable.
Projects
None yet
Development

No branches or pull requests

2 participants