6. Activity se torna God Object
Activity precisa implementar diversas interfaces
Excesso de cast e instance of
class GodActivity implements A, B, C, D, E, Fuck {}
Delegate :( Android
10. EventBus
// Create a bus
EventBus bus = new EventBus();
// Or use the default
EventBus bus = EventBus.getDefault();
// Publish
bus.post(new AnyEvent());
https://github.com/greenrobot/EventBus
14. // Create a main thread bus
Bus bus = new Bus();
// Create an any thread bus
Bus bus = new Bus(ThreadEnforcer.ANY);
// Publish
bus.post(new AnyEvent());
Otto https://square.github.io/otto/
17. Via Reflection
Fornece um Bus Default
Valor Anterior via *Sticky
Threading feita no Evento
OttoEventBus
Via Annotation
Gerenciamento Manual de Bus
Valor Inicial via @Produce
Threading feita no Bus