tags:

views:

94

answers:

1

Can anybody recommend a good framework for handling events in Android? These would be business logic events like UserUpdatedEvent. I am looking for something similar to the EventBus provided by GWT-EVENT but for a JVM that supports weak-references.

A: 

I'm not sure an event bus makes as much sense in Android. It's useful in GWT, because the UI's can become very complex. In Android, they have to be very simple because resources and screen real estate is very limited. However, if you really need one, it should be relatively simple to write your own. It's essentially just the observer pattern.

Jay Askren
The reason was that in our application we may want many many handlers for an event like "player scored".
Benju
Yeah, I could see in the case of a game it being useful. It's probably quicker to write your own than finding one.
Jay Askren