Exemplo n.º 1
0
 public void OpenItem(RssFeedItem selectedItem)
 {
     if (selectedItem != null)
     {
         PhoneApplicationService.Current.State[Constants.OpenFeed] = selectedItem;
         ((PhoneApplicationFrame) Application.Current.RootVisual).Navigate(Constants.FeedItemPageUri);
     }
 }
Exemplo n.º 2
0
        public FeedItemPage()
        {
            InitializeComponent();
            _feedItem = (RssFeedItem) PhoneApplicationService.Current.State[Constants.OpenFeed];
            DataContext =  _feedItem;
             PhoneApplicationService.Current.State.Remove(Constants.OpenFeed);

             Loaded += FeedItemPageLoaded;
        }