Граф коммитов

33 Коммитов

Автор SHA1 Сообщение Дата
Lbugnion 12d694161f Some cleanup, removing packages from repo (use Nuget restore instead) 2017-11-23 17:59:40 +01:00
Lbugnion b1a6b1df29 Refactoring design mode detection. 2017-10-08 16:26:43 +02:00
Laurent Bugnion a5ab76622c Versioning to V5.3 2016-04-23 23:38:52 +02:00
Laurent Bugnion dd58160d52 Renaming field for consistency with ObservableRecyclerAdapter. 2016-04-23 23:37:49 +02:00
Laurent Bugnion 52e973214c Added support for RecyclerView with ObservableRecyclerAdapter, CachingViewHolder
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.
2016-04-23 23:36:32 +02:00
Laurent Bugnion 8e3ec926fe Removed some unnecessary calls to CanExecute 2016-04-20 23:40:48 +02:00
Laurent Bugnion 48064a528d Modified SetCommand to allow avoiding explicit type parameter when using an
Android CheckBox and the default CheckedChange event.
2016-04-20 23:38:18 +02:00
Laurent Bugnion 0f60739e36 Added XML doc specifying that closures will cause issues with WeakActions
(Messenger, RelayCommand, Binding).
2016-04-20 23:15:28 +02:00
Laurent Bugnion 4d174aea9d Fixing an issue in the Binding when using a binding with a source
but without a target (for Command binding).
Adding unit tests for Binding Value and ValueChanged.
2016-02-11 16:59:36 +01:00
Laurent Bugnion 5f183bad19 Some code cleanup 2016-02-11 10:08:53 +01:00
Laurent Bugnion f690ec2cf0 Some cleanup, copyright info, etc. No features. 2016-02-03 19:19:36 +01:00
Laurent Bugnion 1a9880b8c6 Issue 7698: Android NavigationService GetAndRemoveParameter doesn't remove the parameter 2016-02-01 23:26:29 +01:00
Laurent Bugnion 211c05a45d Fixing issue where a cast exception in the Converter could cause the app to crash.
Added unit tests for the Binding converters.
2016-01-31 14:35:45 +01:00
Laurent Bugnion 67f716044a Fixing recursive setting of source and target value when converters are used in both directions. 2016-01-30 18:01:57 +01:00
Laurent Bugnion af6d43a785 Fixed: Issue 7688: Bindings not working in iOS 2016-01-29 18:31:35 +01:00
Laurent Bugnion 5327f601fc Added improvement to Binding system: supporting local variables, public and provate properties,
public and private fields as top source and top target of binding.
Added multiple unit tests for source and target, deep path, etc.
2016-01-27 23:21:39 +01:00
Laurent Bugnion a4232403cc Bug fix with implicit event on Bindings 2016-01-23 18:40:52 +01:00
Laurent Bugnion 4b51532a31 Added TargetNullValue for Binding (used when the Source property is null).
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).
2016-01-23 17:43:53 +01:00
Laurent Bugnion d3a603de38 Issue 7701: RaisePC public ?
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).
2016-01-17 21:18:56 +01:00
Laurent Bugnion 7d8ac1ec1e Fixing: Android: Binding UpdateSourceTrigger with LostFocus crashes the app
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
2015-10-18 22:16:16 +02:00
Laurent Bugnion f93977bd04 Light cleanup 2015-08-28 11:46:51 +02:00
Laurent Bugnion ad71d11923 Discussion 586702: IDialogService ShowMessage Action<bool> afterHideCallback return true on click of back button (Android and WPA81) 2015-04-01 00:22:05 +02:00
Laurent Bugnion 25d050682a Issue 7687: Xamarin Native Android Navigation issue 2015-03-30 13:36:25 +02:00
Laurent Bugnion 82b408ce30 Added DispatcherHelper for Android and iOS 2015-03-30 12:51:14 +02:00
Laurent Bugnion 026789687e Versioning code to V5.1.0 2015-02-08 23:20:06 +01:00
Laurent Bugnion ac91bf6e1a Issue 7661 for all frameworks, improved navigation service CurrentPageKey. 2015-02-06 16:59:14 +01:00
Laurent Bugnion 896e386a03 Issue 7682: WhenSourceChanges calls callback multiple times on iOS (note: was
impacting Android too and not just with WhenSourceChanges)
2015-02-06 16:57:25 +01:00
Laurent Bugnion 0ffcca090b Removed unused Extras reference from Platform DLL for Android. 2015-02-06 16:56:31 +01:00
Laurent Bugnion 29fa48aae0 Updated iOS platform to Unified API (64 bits).
Updated the Navigation Service for Storyboard based UI.
Improved the navigationservice (fixing bug 7661 NavigationService.GoBack does not update CurrentPageKey)
2015-02-06 15:35:53 +01:00
Laurent Bugnion 349d14b32d Updated copyright year 2015-02-06 15:29:54 +01:00
Laurent Bugnion cf522817e8 Some cleanup in documentation.
Fixed issue 7659: Relay Command CanExecute() not working in WPF.
Making V5.0.2.
2014-10-20 22:23:20 +02:00
Laurent Bugnion c4ada8ca07 - Updated IDialogService to return Task<bool> if the message has user feedback.
- 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
2014-10-14 22:20:24 +02:00
Laurent Bugnion 93f16c762c - V5 published.
- 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.
2014-10-06 16:38:51 +02:00