locked
Preserve data navigating back

    Question

  • Hi,

    in my app I'm using Prism and I'm able to save and restore view and view model state when the app suspends and resumes.

    I would like also to preserve view and viewmodel state when navigating back to a page, for example: in a page I have a list of items, I click on an item and I navigate to item detail page. If I click back button, I navigate back to the item list page and I would like to restore page as it was before navigating to item detail page (list filters, horizontal scrollbar position in the list that is populated through incremental loading).

    This only when navigating back from item detail to the list of items.

    Which is the best strategy to preserve view and viewmodel state when navigating back?
    Can page navigation cache help me?

    Wednesday, February 19, 2014 6:56 AM

All replies

  • isnt the SuspensionManager been used in prism that comes out of the box with the windows store template apps?

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Wednesday, February 19, 2014 9:04 AM