and supporting extension methods. Note that this is a separate assembly
because of the required Support.V7 reference. It will also be a separate
Nuget package.
Added FallbackValue for Binding (used when there is an error in the binding resolution)
Added a SetCommand overload without an eventName parameter: Works for Button.Click (Android),
CheckBox.CheckedChange (Android), UIButton.TouchUpInside (iOS), UIBarButtonItem.Clicked (iOS).
Added a SetCommand overload with a value for CommandParameter. SetCommand now
supports binding for CommandParameter (in case the value changes) and a non changing value.
--> public static void SetCommand<T>(
this object element,
RelayCommand<T> command,
T commandParameter)
Modified SetCommand (non generic) to support ICommand instead of RelayCommand.
Replaced UpdateSourceTrigger with ObserveSourceEvent, and UpdateTargetTrigger with
ObserveTargetEvent. The old names were too confusing. UpdateSourceTrigger and UpdateTargetTrigger
are still there but marked Obsolete.
Cleanup up and refactored the Binding class in partial classes for neatness.
Added a bunch of unit tests for iOS and Android (not all features are unit tested yet but it's a good start).
Renamed solution Galasoft.MvvmLight (VS2013) in Galasoft.MvvmLight (VS2015).
NOTE: This can be a breaking change if you were overriding RaisePropertyChanged
in your code before.
Issue 7564: The RaisePropertyChanged Overloads Contain Duplicate Code.
This is solved now in ViewModelBase and ObservableObject. All calls are routed
through ObservableObject.RaisePropertyChanged(string). If you override this method only in your VMs,
it will always be called if you call any of the Set methods, RaisePropertyChanged(string)
or RaisePropertyChanged(Expression).
Fixing: Binding UpdateSource/TargetTrigger set manually does not overwrite default value of event
Adding missing System.Runtime and System.Threading.Tasks references to Android
V5.2.1
Updated the Navigation Service for Storyboard based UI.
Improved the navigationservice (fixing bug 7661 NavigationService.GoBack does not update CurrentPageKey)
- DialogService implementations now can be awaited properly even on frameworks where showing a dialog is not asynchronous.
- Fix for issue 7589: RelayCommandGeneric.cs CanExecute raises InvalidCastException
- Nuget: Issue with WPA81 fixed.
- Nuget: Issue with Portable Class Libraries fixed.
- Nuget: Updated warning message when installing full MVVM Light nuget package in a libs only project.
- Updated templates
- Android version updated including Binding and Commanding framework, ObservableAdapter.
- iOS version (new) including Binding and Commanding framework, ObservableController.
- Updated external references.
- All assemblies are now signed (where possible).
- Using a new directory structure across the board.