There are a number of ways to authenticate users on mobile devices, from traditional passwords and pins to new biometric fingerprint sensors. Most users are already using one of the most secure mobile authentication implementations, the device lock screen. With Android Marshmallow and the new Confirm Credential API, it’s now possible to utilize the lock […]
The post Easily Authenticate Users With Android’s Confirm Credential appeared first on Xamarin Blog.
I’d like to share a really awesome bit of code that I’ve been using in my XAML applications for a while now… there are many frameworks and examples out there, but I’ve not yet seen anyone else using this exact technique before…
MVVM in XAML UI Applications
If you are building app UIs using XAML, then you are more likely than not also using the MVVM design pattern. The general idea is that your code which handles application logic, business rules, etc. gets placed into ViewModel classes, and all visual widgets/controls get placed into XAML views. Typically we would have one View per ViewModel, but that’s not a requirement at all (more like a generalized observation), and in fact there are some situations where we might want to have multiple Views for the same ViewModel (or break a complex ViewModel into multiple parts while still connecting to a single View). The ViewModels are supposed to capable of standing alone, and we use data bindings and command bindings to connect the two. This way, we can unit test our ViewModels thoroughly, and (sometimes) allow UX designers to dictate the XAML layout directly.
That’s all fairly normal and typical.
As we dig a little more deeply into the mechanisms of data binding, we learn that part of the “magic” is achieved by way of the INotifyPropertyChanged interface (which includes only one thing – an event named PropertyChanged).… Read more
Xamarin Dev Days is easily one of my favorite experiences since joining Xamarin as a Developer Evangelist. It’s incredible to have the opportunity to travel around the country, meet people who love mobile and .NET development, and teach those who are brand new to Xamarin what we’re all about. With sessions on everything from Azure Machine […]
Blobs & Blobs of Cheese: A Xamarin/Azure Storage Primer Matthew Soucoup, from Codemill Technologies, integrates his favorite app with Azure storage. Join Xamarin at a Visual Studio Launch Event Near You Krystin Stutesman, from Xamarin Inc., wants you to celebrate the launch of VS 2015. Xamarin Continuous Integration Early Access Program Keith Ballinger, from Xamarin […]