I'm refactoring a MVP app I have that currently uses Events and an
AppController to handle navigation transitions.
Activities and Places appear to only pass state via tokens, not by
passing by reference. is there another way?
A use case may help here:
Think of two screens, A Student List screen
you need to put your student into EditStudentPlace and initialize new
EditStudentActivity with it in ActivityMapper
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
SWEET. That was exactly it. I added a setStudent and getStudent to
StudentAddEditPlace
In my activity mapper I get the activity for the place, then set the
student into the activity that I get from the place.
Subtle but obvious now that I see it. Thank you very much.
-Dave
On Feb 2, 2:44
Hi, If you want activities to be talking to each other, one way of
achieving them is via encapsulating the data in the Place, as mentioned
above.
Imagine a complex application, where in a lot of objects are required by
different activities. In events like that, you have to pass on all the