From Code-Behind Code to MVVM with XAML and C#

You might've heard about MVVM, maybe even grasp the basic concept but how do you move your first code from your code-behind to an actual view model and start using the MVVM pattern? I will show you with a simple example with Xamarin.Forms in this video, but this can be applied to any basically language! 💝 Join this channel to get access to perks: https://www.youtube.com/channel/Geral... 🛑 Don't forget to subscribe to my channel for more amazing content: https://www.youtube.com/GeraldVerslui... 🐦 Follow me on Twitter:   / jfversluis   🤝 Join the MAUIverse Discord server: https://mauiverse.net/discord 🔗 Links Sample code repo: https://github.com/jfversluis/XFCodeB... James' How Much Code in Code-Behind is OK? Video:    • How much code behind is Okay? MVVM best pr...   Data-binding Docs: https://docs.microsoft.com/xamarin/xa... ⏱ Timestamps 00:00 - Intro 00:12 - Implement Code-Behind Functionality 04:41 - Implement MVVM 09:36 - Data-Binding Explained 13:33 - Update UI From ViewModel with INotifyPropertyChanged 18:08 - Outro 🎥 Video edited with Camtasia (ref): https://techsmith.z6rjha.net/AJoeD 🙋♂️ Also find my... Twitter:   / jfversluis   Blog: https://blog.verslu.is Twitch:   / jfversluis   All the rest: https://jfversluis.dev #mvvm #codebehind #INotifyPropertyChanged #viewmodel #command #xamarinforms #dotnetmaui