whether you cache or not cache should be based on the user experience
you want to provide.
Are there objects which needs to be re-initialized when you move from
one activity to other? if yes, don't cache or atleast have some sort of
intialization method in the startActivity.
In typical Wizards, the state is maintained between screens. If you
want it behave similar to that including state maintenance, cache the
activities.
CheckOut the CachingActivityMapper. You may probably have to expand it
in your case to cache all the activities which form the various screens
of your wiazard.
Regards
Ashwin
On Thursday 12 January 2012 07:05:03 AM IST, Cristian Rinaldi wrote:
Any idea for this problems?
A.U.S Cristian Rinaldi
Teléfono Móvil: (0342) 155 238 083
www.logikas.com <http://www.logikas.com/>
Lisandro de la Torre 2643 Of 5 - 3000 - Santa Fe
Teléfono Fijo: (0342) 483 5138
2012/1/10 Cristian Rinaldi <csrina...@gmail.com
<mailto:csrina...@gmail.com>>
Hello:
I have a question about the design using Activities and Places.
I have a set of activities that render their views in a section.
The behavior I want is that each activity, after an event (by
example: click in next button, click in activity represented in
breadcrumbs) go to the next activity, hiding the previous view.
Top of the section, I have a breadcrumbs with the activities that
happened.
Now, if I click on one of the parts of the breadcrumbs, must be
return to the activity related and show the view with all his state.
The question is: I make a map of activities that are cached? or
do not use cache, and management behavior in the start method of
activity, starting all over again.
The view is singleton, and managed by GIN.
The general behavior is like the behavior of a wizard.
Any ideas?
--
You received this message because you are subscribed to the Google
Groups "Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/W6fMEmnty14J.
To post to this group, send email to
google-web-toolkit@googlegroups.com
<mailto:google-web-toolkit@googlegroups.com>.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com
<mailto:google-web-toolkit%2bunsubscr...@googlegroups.com>.
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.
--
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.
--
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.