ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Prism for Xamarin.Forms - Passing Navigation Parameters

Автор: Brian Lagunas

Загружено: 2019-01-29

Просмотров: 13090

Описание: When navigating throughout your Prism for Xamarin.Forms applications, it is often required to pass parameters from one View to another. Prism allows you to pass navigation parameters with three simple steps:

1. Create the navigation parameters
2. Get the navigation parameters
3. Read the navigation parameter values

Passing parameters to the next View/ViewModel can be done using an overload of the INavigationService.NavigateAsync method. This overload accepts a NavigationParameters object that can be used to supply data to the next View. The NavigationParameters object can accept any arbitrary object as a value.

Getting the navigation parameters from the target View/ViewModel is done by implementing the INavigationAware interface. The OnNavigatedFrom, OnNavigatingTo, and OnNavigatedTo methods each represent the different phases of the navigation process and expose the INavigationParameters object to you.

You read the INavigationParameters values by using either the index of the collection, the GetValue/GetValues method, or by using the TryGetValue method.

Twitter:   / brianlagunas  
Blog: http://brianlagunas.com
GitHub: https://github.com/brianlagunas

Prism Library: http://prismlibrary.github.io/
Become a Patron:   / prismlibrary  

Visit our Sponsor: https://bit.ly/prism-infragistics

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Prism for Xamarin.Forms - Passing Navigation Parameters

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]