EventBus icon indicating copy to clipboard operation
EventBus copied to clipboard

After changing the system time,Error

Open SevenOrEleven opened this issue 2 years ago • 1 comments

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

SevenOrEleven avatar Dec 24 '21 02:12 SevenOrEleven

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

greenrobot-team avatar Jan 10 '22 10:01 greenrobot-team

maybe u did not add annotation @subscribe to your method

tomridder avatar Mar 12 '23 15:03 tomridder

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

greenrobot-team avatar Mar 13 '23 11:03 greenrobot-team