greenrobot / EventBus

Event bus for Android and Java that simplifies communication between Activities, Fragments, Threads, Services, etc. Less code, better quality.
http://greenrobot.org/eventbus/
Apache License 2.0
24.67k stars 4.66k forks source link

After changing the system time,Error #690

Closed SevenOrEleven closed 1 year ago

SevenOrEleven commented 2 years ago

I register eventbus in oncreate, but an error will be reported: no subscribers registered for event.

If I change the system time back to normal, event register is success

greenrobot-team commented 2 years ago

This error indicates there no methods annotated with @Subscribe.

Can you provide an example and more detailed steps to reproduce this? I'm not sure how system time could affect subscriber registration.

Maybe also have a look at the docs again. https://github.com/greenrobot/EventBus#eventbus-in-3-steps

tomridder commented 1 year ago

maybe u did not add annotation @subscribe to your method

greenrobot-team commented 1 year ago

Closing because this issue is missing details. Feel free to comment with additional details and we can re-open it.