I was wondering about this as well; I figured the Google team would
have incorporated a GWT "EventBus" into Android, as it works very well
in the GWT framework.

On Jul 5, 2:58 am, Nikolay Elenkov <[email protected]> wrote:
> On Tue, Jul 5, 2011 at 1:46 PM, doles <[email protected]> wrote:
> > So, is there any way to fire events on an event bus in Android then?
>
> There is nothing specific to Android. Just define a listener interface,
> register some listeners and call those to fire an event. If you want to
> pass data, you can extends java.util.EventObject, but that doesn't
> buy you much.
>
> You can look at Handler if you want to send messages across
> threads.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to