It is go time! Time for some architecture with MVVM, data binding, commanding, and more. In this episode I walk you through everything you need to know about MVVM, what it is, why you need it, and how it can help you be more productive and write less code that is more testable.
I break down MVVM with Xamarin.Forms, however most of the concepts are the same across WPF & UWP. Some key differences are that you have DataContext instead of BindingContext (WPF/UWP) and x:Bind instead of x:DataType - [ Ссылка ] on UWP for compiled bindings (nothing available for WPF).
Full Xamarin Beginner's Playlist - [ Ссылка ]
👕 Buy some swag! - [ Ссылка ]
Time Codes:
00:00 - Introduction
01:30 - What is MVVM?
05:30 - Using Data Binding and INotifyPropertyChanged
14:10 - What is ICommand
17:30 - Using Commands, not Click Handlers
20:30 - Our First View Model
25:00 - Wrap-up
Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
Links:
* XAML: [ Ссылка ]
* Data Binding: [ Ссылка ]
* Source Code: [ Ссылка ]
What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: [ Ссылка ]
What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: [ Ссылка ]
Follow:
👨💻 GitHub: [ Ссылка ]
🦜 Twitter: [ Ссылка ]
🔴 Twitch: [ Ссылка ]
📄 Website: [ Ссылка ]
📰 Newsletter: [ Ссылка ]
My Setup:
* Blue Spark Microphone - [ Ссылка ]
* Blue Pop Filter - [ Ссылка ]
* Rode Microphone Arm - [ Ссылка ]
* Sony MDR7306 Headphones - [ Ссылка ]
* Stream Deck - [ Ссылка ]
* Elgato Cam Link - [ Ссылка ]
* GoPro Hero - [ Ссылка ]
* MX Master 2S Mouse - [ Ссылка ]
* Tecware Phantom Keyboard - [ Ссылка ]
#MVVM #Xamarin #XamarinForms #XAML
Ещё видео!