Тёмный

Prism for Xamarin.Forms - Navigation Basics 

Brian Lagunas
Подписаться 18 тыс.
Просмотров 23 тыс.
50% 1

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 48   
@mohdotnet
@mohdotnet 5 лет назад
This video IS THE BEST!!! simply loving the explanations - easy to follow simple to understand thansk a Mill @brian
@BrianLagunas
@BrianLagunas 5 лет назад
I try to make the concepts easy to follow. Thanks for watching.
@danieljohnson3344
@danieljohnson3344 5 лет назад
Awesome stuff Brian. Really enjoying the Prism Framework. :-)
@BrianLagunas
@BrianLagunas 5 лет назад
Thanks for watching
@rajeshjha3681
@rajeshjha3681 5 лет назад
Love all your videos..You are an awesome instructor.
@BrianLagunas
@BrianLagunas 5 лет назад
Thank you very much kind sir
@jeffersongil3949
@jeffersongil3949 5 лет назад
This series of videos is great...
@BrianLagunas
@BrianLagunas 5 лет назад
Thanks for watching
@fredyjimenez4853
@fredyjimenez4853 5 лет назад
Thanks for all your job!!!!! you are great!!
@BrianLagunas
@BrianLagunas 5 лет назад
Thanks for watching
@shanthureddy4234
@shanthureddy4234 5 лет назад
This Guy is Tim Correy for Web Development,, the Best :)
@BrianLagunas
@BrianLagunas 5 лет назад
Now I just need to get the 78K subscribers Tim has :D
@shanthureddy4234
@shanthureddy4234 5 лет назад
Brian Lagunas I’m sure you will , keep sharing your knowledge :) you’re incredible and crystal clear tbh :)
@BrianLagunas
@BrianLagunas 5 лет назад
Thank you so much
@beautifulheartsoothingreci28
@beautifulheartsoothingreci28 4 года назад
Hello Brian! Is it true that current Xamarin.Forms version comes with Dependency Injection out of the box?
@BrianLagunas
@BrianLagunas 4 года назад
No, it has a static dependency service that acts more like a service locator, but it does not have dependency injection.
@code-with-jon
@code-with-jon 3 года назад
Really clear explanation 😊 What links the view model to the page? Does it just match up the name?
@BrianLagunas
@BrianLagunas 3 года назад
Yes, the ViewModelLocator uses a naming convention. Be sure to check out my videos on the VML
@hovermind
@hovermind 5 лет назад
Great!
@BrianLagunas
@BrianLagunas 5 лет назад
Thanks for watching
@ваняк-ц8о
@ваняк-ц8о 4 года назад
Hello Brian! this is a great video. But I have a little problem, I don't have a back button, what is the problem? Thank you!
@BrianLagunas
@BrianLagunas 4 года назад
Then you're not in a NavigationPage
@beautifulheartsoothingreci28
@beautifulheartsoothingreci28 4 года назад
@6:35 but when exactly is this NavigationService instance passed to the MainPageViewModel at runtime?
@BrianLagunas
@BrianLagunas 4 года назад
Because there is no other way to get it. Prism uses dependency injection. That is the only way to get any of the Prism services in a Prism application.
@_samirdahal
@_samirdahal 3 года назад
Suppose we have PageA and PageB, now I want to navigate from PageA to PageB and when it navigates to PageB I want some initial data that takes arround 3 secs to load. But during that 3 secs I want to show an Activiy Indicator just to give some clue to the user that something is loading up. Now ,how do I do it without blocking the UI thread? Where to call that code? In the ctor? Any place you recommend?
@BrianLagunas
@BrianLagunas 3 года назад
you will have an activity indicator that is bound to a property in your VM maybe named IsBusy. You will set your IsBusy property to true, then you will load your data asynchronously as to not block the UI, and when the data has loaded set the IsBusy to false to hide the activity indicator.
@_samirdahal
@_samirdahal 3 года назад
@@BrianLagunas what's the best place to load initial data when app opens?
@BrianLagunas
@BrianLagunas 3 года назад
Depending on your requirements it could be the initialize of the VM, or on the navigated to of the Vm.
@BorisFischman
@BorisFischman 5 лет назад
Hello Brian, Thank You! Please How to implement a aplication "splash page"?
@BrianLagunas
@BrianLagunas 5 лет назад
I'll do a video on that at a later date. Thanks for the suggestion
@crashnnburn
@crashnnburn 5 лет назад
Hello Brian, was wondering if it was possible to get a Tabbed Page menu to appear at the bottom (android). As of Xamarin.Forms 3.1 it is possible to use a SetToolBarPlacement() method. The only issue is that I can't access the TabbedPage since it is part of the Prism containerRegistry. So I'm not sure where I would place that. I tried placing it on the first tabbed page on the code behind but it's not working. Any pointers are greatly appreciated, thanks!
@BrianLagunas
@BrianLagunas 5 лет назад
Just create a custom tabbedPage design it how you like, and register that with Prism.
@crashnnburn
@crashnnburn 5 лет назад
@@BrianLagunas thank you very much again for quick response.
@rezamohamed2112
@rezamohamed2112 5 лет назад
@Brian Lagunas - the absolute navigation "/MainPage" does not seem to work on iOS, my Xamarin.Forms app on iOS simulator just freezes up. Does this not work on iOS?
@BrianLagunas
@BrianLagunas 5 лет назад
Yes, it most definitely works on iOS. You may have an error somewhere else in your code.
@rezamohamed2112
@rezamohamed2112 5 лет назад
@@BrianLagunas its the same code as Android. Android works just fine, the iOS version freezes up when I click the button to go to /MainPage. From your tutorial regarding Passing Nav Params, i'm unable to get the Title 'Hello from Main Page' to render immediately on navigation to View A as well - works just fine on Android.
@kumarharsh8931
@kumarharsh8931 5 лет назад
in wpf mainwindow navigation is working but if i open child window from mainwindow and doing same thing for navigation its not working and also not throwing error . how to use navigation in child window in wpf?
@BrianLagunas
@BrianLagunas 5 лет назад
This video covers navigation in Xamarin.Forms, not WPF. You should ask your question on StackOverflow.
@kumarharsh8931
@kumarharsh8931 5 лет назад
@@BrianLagunas ok
@jorgeromero9759
@jorgeromero9759 4 года назад
GoBackAsync not found
@BrianLagunas
@BrianLagunas 4 года назад
Then you're using the wrong interface.
@jorgeromero9759
@jorgeromero9759 4 года назад
@@BrianLagunas it's the same in your video😭
@BrianLagunas
@BrianLagunas 4 года назад
@@jorgeromero9759 if the method can't be found, then its not the same. The GoBackAsync method is a method on the INavigationService interface. If you're not seeing it, you're not using the right interface. What methods are on your interface?
@MisterTonton1
@MisterTonton1 4 года назад
Unfortunately, most programmer are not as good as you are.
@BrianLagunas
@BrianLagunas 4 года назад
Many are better 😁. Thank you for the kind words.
@MisterTonton1
@MisterTonton1 4 года назад
@@BrianLagunas That's probably true, but either they won't share their knowledge, either they are not pedagogue.
Далее
Plugins for Xamarin Forms
26:17
Просмотров 12 тыс.
Prism - Using Composite Commands
10:36
Просмотров 14 тыс.
Episode 5: MVVM & Data Binding with Xamarin.Forms
30:39
Building Outlook: Prism Navigation
1:45:14
Просмотров 15 тыс.
Module #3 - Designing Xamarin.Forms UI
55:12
Просмотров 66 тыс.