[mono-android] Passing information between tabs
Tomasz Cielecki
tomasz at ostebaronen.dk
Wed Nov 9 14:41:30 EST 2011
Thought about having a third class outside handling all that
information and notifying the classes within when the collection of
data changes?
See an example of this here:
http://msdn.microsoft.com/en-us/library/ms743695.aspx
Then make a static reference to that class somewhere and pass it
around to your activities and have them listen to the PropertyChanged.
Then make sure on each change to notify and grab that notification in
the respective activities.
On Wed, Nov 9, 2011 at 7:38 PM, Paul F. Johnson
<paul at all-the-johnsons.co.uk> wrote:
> Hi,
>
> Probably seems a dumb newby question this.
>
> I have a tabview application. As per the demo on the website, I've set
> up three activities, set up in three different classes.
>
> Is there a way to pass information between each tab? For example, part
> of a calculation is on tab 1 with additional conditions on tab 2. When
> everything is ok, the calculate button can be pressed (on tab 2) A info
> from both tabs are required, is there a way info from tab1 can be
> accessed? Results are sent to tab3 (just to make life fun)
>
> Thanks
>
> Paul
> --
> Vertraue mir, ich weiss, was ich mache...
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
--
Med Venlig Hilsen / With Best Regards
Tomasz Cielecki
http://ostebaronen.dk
More information about the Monodroid
mailing list