How to navigate with objects in windows phone 8?

前端 未结 3 1822
广开言路
广开言路 2021-01-07 11:52

I need to navigate from one xaml page to another with an Object not a String ..

present code is :

  private void Border_ManipulationStarted(object s         


        
3条回答
  •  难免孤独
    2021-01-07 12:32

    While the Phone application state method may work, it throws exception when you come back from dormancy. Its not designed to store large objects. A better way to do it would be by overriding the navigation function of navigationservice class. Here is a link to help you guide through it:-

    http://www.kunal-chowdhury.com/2013/10/passing-object-to-wp-navigation-service.html

提交回复
热议问题