EventBus icon indicating copy to clipboard operation
EventBus copied to clipboard

Suggestion: make default EventBus subclass-able or proxy-able.

Open compilelife opened this issue 8 years ago • 1 comments

Would you make EventBus implements a interface, so I can proxy EventBus to change the behavior of the default one ?

Or alternative make defult EventBus subclass-abe, like by calling EventBus.installDefault(new SubEventClass()) to change the default instance?

I think it's useful for ones who want to "rewrite" the default EventBus. At least, this will help my project a lot.

(Sorry for my poor English.)

compilelife avatar Aug 09 '17 05:08 compilelife

EventBus is not final, so you should be able to subclass it. No?

Anyhow, leaving this open if we ever decide to support this. -ut

greenrobot-team avatar Sep 19 '17 09:09 greenrobot-team