×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2012
    Posts
    20

    How to handle infinite page navigation loops?

    Hello, I'll give Twitter as an example for an "infinite page navigation loop":

    In twitter there is a page where we can read a tweet (page A), in that tweet there might be a "mention" and when we click on it we go to the mentioned user's profile page (page B). From the profile page we can see the user's tweets so we can navigate to tweet reading page again. This can go on forever and we might end up with a very deep page stack:

    Page A => Page B => Page A => Page B => Page A ...

    My question is: is this hurtful for our app? Might this consume all the phone memory and crash the program after a while? If yes how should we avoid or handle this problem?

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2012
    Location
    Bilbao
    Posts
    53

    Re: How to handle infinite page navigation loops?

    Hi Zuluuuu

    If you properly dispose objects when navigating away from a page, you don't should have memory problems as page get destroyed and memory released. But i think This navigation model can hurts app usability. I think you can remove navigation backstack when reaching a page beyond the third level of navigation, making the back operation going straight forward to the main page...

  3. #3
    Registered User
    Join Date
    Apr 2012
    Posts
    20

    Re: How to handle infinite page navigation loops?

    Quote Originally Posted by josueyeray View Post
    Hi Zuluuuu

    If you properly dispose objects when navigating away from a page, you don't should have memory problems as page get destroyed and memory released. But i think This navigation model can hurts app usability. I think you can remove navigation backstack when reaching a page beyond the third level of navigation, making the back operation going straight forward to the main page...
    But I do want the user to be able to go back throughout the history. Which is the case with the current Twitter app, as well.

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    551

    Re: How to handle infinite page navigation loops?

    Quote Originally Posted by ZuLuuuuuu View Post
    But I do want the user to be able to go back throughout the history. Which is the case with the current Twitter app, as well.
    I think that if you have a good case for this navigation flow, then go ahead. As you say, Twitter uses it on Windows Phone and I can think of a number of other apps on other platforms where it is used as well.

    As with most UI/UX decisions, you have to ask yourself the question: does it make sense to the user? will they know where they are? can they get home?

  5. #5
    Registered User
    Join Date
    Mar 2013
    Posts
    13

    Re: How to handle infinite page navigation loops?

    This scenario is no different from a user who keeps navigating to a new tweet (with no loops).

Similar Threads

  1. Data transfer in page navigation
    By somnathbanik in forum Windows Phone General
    Replies: 8
    Last Post: 2012-01-30, 10:04
  2. How to handle navigation button down event
    By tlr in forum Symbian User Interface
    Replies: 12
    Last Post: 2009-04-02, 06:41
  3. how to handle center key of navigation keys
    By kishore84 in forum Symbian
    Replies: 1
    Last Post: 2008-02-11, 15:18
  4. Page Navigation in MVC pattern
    By hojatvaheb in forum Symbian
    Replies: 8
    Last Post: 2007-10-23, 16:39
  5. Settings Page - How to handle cancel event?
    By ashbhatia in forum Symbian User Interface
    Replies: 2
    Last Post: 2003-03-10, 10:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×