No Why? Goodbye to you!
gdky005 opened this issue · 1 comments
gdky005 commented
See #637.
I think README.md have a bug。 He'll lead more people to misunderstand and delay.
@Override
public void onStart() {
super.onStart();
EventBus.getDefault().register(this);
}
@Override
public void onStop() {
super.onStop();
EventBus.getDefault().unregister(this);
}
That's right:
@Override
public void onCreate() {
super.onStart();
EventBus.getDefault().register(this);
}
@Override
public void onDestory() {
super.onStop();
EventBus.getDefault().unregister(this);
}
greenrobot-team commented
Spam