If your ActivityMapper returns the exact same instance as the current 
activity, the activity won't be stopped/restarted, and won't be notified 
either (it'd have to listen to PlaceChangeEvent, or your ActivityMapper 
would have to "notify" it; in the Expenses sample for instance, it "sets the 
place" on the activity as mean to "notify" it).

I for one highly prefer the "disposable activity" approach, where the 
ActivityMapper creates a new activity instance each time it's called (unless 
it would be "the same" as the previous one, but that's better handled with a 
CachingActivityMapper).

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

Reply via email to