Rio Binding today is all about ViewModels.
Rio is an attempt to experiment with different types of ViewModel. In particular to:
- instead of
Using the FieldBinding and MethodBinding plugins from Rio, a view model can look like:
instead of an old-skool-INotifyPropertyChanged ViewModel like:
Rio is an attempt to start a conversation.:
- Which ViewModel style do you prefer?
- What else could be tried?
- How could anyone do better?
Please note that no-one is saying that Rio field- and method-binding is better than the established property and command binding. All it does for now is to offer some new alternatives. Always think about your code and always choose the tools and techniques which suit you, your team and your app best - the app is king!
The source for today's video is at: https://github.com/slodge/NPlus1DaysOfMvvmCross/tree/master/N-36-Rio
A full N+1 index is available on: