private void SearchResultsItemClicked(object sender, ItemClickEventArgs e)
 {
     var selectedItemId = ((SearchItemModel)e.ClickedItem).Id;
     var detailsPage = new DetailsPage();
     ((DetailsViewModel)detailsPage.DataContext).SetSelectedItem(selectedItemId);
     
     WindowManager.NavigateTo(detailsPage);
 }
示例#2
0
        private void SearchResultsItemClicked(object sender, ItemClickEventArgs e)
        {
            var selectedItemId = ((SearchItemModel)e.ClickedItem).Id;
            var detailsPage    = new DetailsPage();

            ((DetailsViewModel)detailsPage.DataContext).SetSelectedItem(selectedItemId);

            WindowManager.NavigateTo(detailsPage);
        }