Events allow you to synchronize two concurrently active presenters.
If you never have more than one presenter active in your application
at a given time, then this becomes less of an issue.

-Ben

On Jan 20, 8:01 am, ailinykh <ailin...@gmail.com> wrote:
> Why do you need events? Each Activity is notified when it becomes
> active ( method start() is called).
> Just check the application state at this moment. If you want to share
> some data between several activities make this data singleton.
>
> Thank you,
>   Andrey
>
> On Jan 19, 7:59 am, SergeZ <comp1...@gmail.com> wrote:
>
> > Hello everybody! Can someone help me to sort things out ?   The
> > question is: is it possible to use EventBus (or just HandlerManager )
> > with Activities and Places ? How can I notify a set of my places ( for
> > example, 5 widgets ) about an event which happened in a particular
> > place (a widget, not included in those 5 widgets ).
>
> > For example...
> > I have 6 widgets. Acutaly 6 different pages ( places ). Each of them
> > consist of a button and a text area (for example). Suppose, I write
> > some text in widget1's textarea, and I want that text to be displayed
> > in other 5 text ereas. How can I fire event ( for example
> > UpdateTextAreaEvent() ). Is there in GWR 2.1's architecture such
> > mechanism or all this stuff - activities, places and other are just
> > about history management and more convinient way to switch between
> > pages ?
>
> > Hope, I have managed to explain my problem quite well.
>
> > Thanks a lot for your time!!!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to