|
Re: update one view's model from another [message #464682 is a reply to message #464577] |
Tue, 13 March 2007 15:11 |
Eclipse User |
|
|
|
Originally posted by: peter_ossipov.mail.ru
You need to decouple your user interface and data. Let the data be
contained in some static class somewhere and it should allow adding
listeners to notify once the state of of the data changes. So the first
view will modify the data and the second will listen and the static
class will notify.
sudhakar wrote:
> I have two views. In the first view I have a button that should update
> the second view's model. I use databinding to synchronize the model to
> view in the second view.
>
> How can I access the model instance in the second view from my first
> view so that I can update it?
>
> Thanks in advance for any help.
> -sud
>
|
|
|
Powered by
FUDForum. Page generated in 0.04052 seconds