Real-World Input Validation Scenarios with Xamarin.CommunityToolkit
Автор: Gerald Versluis
Загружено: 2021-02-04
Просмотров: 6641
On Stack Overflow I noticed a post where was asked how to do the input validation with the Xamarin Community Toolkit triggered by a button. So, I wrote a loooong answer on how to do it in three different ways. But of course, we can't do without a video!
In this video we will see how to check the validity of a MultiValidationBehavior and EmailValidationBehavior by the press of a button and show the right error messages and how to do it the more MVVM way with data-binding.
💝 Join this channel to get access to perks:
/ @jfversluis
🛑 Don't forget to subscribe to my channel for more amazing content: https://www.youtube.com/GeraldVerslui...
🐦 Follow me on Twitter: / jfversluis
🔗 Links
Sample App Repo: https://github.com/jfversluis/XCTInpu...
Stack Overflow post: https://stackoverflow.com/questions/6...
XCT Sample App TouchEffects: https://github.com/xamarin/XamarinCom...
Blog Post by Andrei: / validation-behavior-xamarin-forms-xamarin-...
Xamarin.CommunityToolkit Repo: https://aka.ms/xct
Xamarin.CommunityToolkit Docs: https://aka.ms/xct-docs
⏱ Timestamps
0:00 Intro
0:42 Review StackOverflow Question
3:02 Sample App Outline
4:00 Install Xamarin.CommunityToolkit NuGet
4:30 Add Xamarin Community Toolkit XML Namespace
5:26 MultiValidationBehavior Implementation
11:30 EmailValidationBehavior Implementation
12:08 Run the Sample App
13:20 Data-Binding Implementation with EmailValidationBehavior
17:33 Running Sample with Data-Binding Implementation
18:57 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
#XamarinForms #XamarinCommunityToolkit #InputValidation
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: