Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8871469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:59:58+00:00 2026-06-14T17:59:58+00:00

It finally occurred to me that you are supposed to code up an ActivityMapper

  • 0

It finally occurred to me that you are supposed to code up an ActivityMapper to parse/inspect the Place subclass that its getActivity(Place) method is passed, and to return the appropriate Activity to present to the user.

So this got me thinking: it makes sense that you need many different Place subclasses in your app, each representing a different bookmarkable URL/state.

But why would an app ever need more than 1 ActivityManager and Activity Mapper? It seems that there is no GWT-imposed restriction as to which Place gets mapped to which Activity…

I’ve heard some strategies where each display region gets its own ActivityManager. It seems too me like this just makes your project more complicated without providing any real benefits. Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T17:59:59+00:00Added an answer on June 14, 2026 at 5:59 pm

    Having coded an app with 10 such display regions, I can assure you it made our project much less complicated than what it’d have been with a single one (we could have removed a couple regions, then handled without activities, but still).

    It proves the most useful when your display regions don’t all change at the same time (generally, your main content changes more often than your peripheral or aside content): let’s say you’re editing a very complex entity and splitting this in tens of screens and there are things on the screen that are always the same (e.g. a summary of the top entity, to give context to the user).

    It’s also great to specialize your activities (separation of concerns, one concern per activity). For instance, on stackoverflow (if were a GWT app), the sidebar on the right could be in the same activity as the question and its answers, but if you separate things into distinct activities, each one becomes simpler and thus easier to maintain.

    Finally, specialized activities can more easily be reorganized. E.g. a master-detail that’s split into 2 activities can easily be changed from “master/child on the same screen” (same as most mail clients that display both the list of mails and the selected message) to “master to child and back to master” (like GMail by default, like most mobile apps). And this reorganization is not about changing the way you navigate within your app, its about reusing the same activities for different navigations depending on the form-factor (and with MVP, you can also adapt the views without changing the presenters).


    That being said, there indeed are many apps where this isn’t needed/required. It doesn’t mean it’s not useful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some code that throws a potential error and I catch these, then
I have a database of many tens of thousands of events that occurred at
I have a base form class that contains a method that returns a DataTable:
Finally i tried to draw a line using OpenGL ES framework in XCode 4.2
Finally deployed my ruby on rails 3.2 app but when trying to open it
Finally figured it out thanks to One Mad Monkey, but forgot quotes on my
Finally I managed to get pylucene working on my windows7 machine, Which raised a
I finally figured out how to implement pg_search's multisearch feature. But I'm having trouble
I finally let windows nag me into upgrading from IE6 to 8. Now in
I finally have my C++ Builder 2010 installation the way I want it, with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.