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

13 Коммитов

Автор SHA1 Сообщение Дата
Shane Neuville 97b53d8e63
Update to dot release to fix bundling (#10975)
fixes #10809
2020-06-10 11:34:21 -07:00
Javier Suárez 8ce4b7db73
Change StateTriggerBase OnAttached and OnDetached methods to be public (#9888)
* Change OnAttached and OnDetached to be public

* Fixed build error

* Removed unnecessary virtual methods

* Fixed build error
2020-04-13 11:34:40 +01:00
Shane Neuville 3f93808b05
Don't Init DualScreenService on non duo device (#9733)
* Don't Init DualScreenService on non duo device

* - add api check for get spanning rects

* - add additional api check

* - fix sample to be less confusing
2020-03-04 15:14:01 -07:00
Michael S. Scherotter d55ada424f
Added check for null hinge in GetHinge() (#9678)
* Added check for null hinge in GetHinge()

* - updating duo sdk version
- change to using GetHingeBoundsDip

* - update duo library and call update on config changes

Co-authored-by: Shane Neuville <shane94@hotmail.com>
2020-02-24 13:32:48 -07:00
Shane Neuville 8774f8b198
Androidx bump to stable release packages (#9594)
* Android x stable bump

* - add support to maps nuget

* - related androidx packages

* Update .nuspec/Xamarin.Forms.AppLinks.nuspec
2020-02-18 15:26:41 -07:00
Shane Neuville d4a67e40af
TPV fixes for landscape, WindowSpanModeStateTrigger, ContentArea calculation fixes (#9577) 2020-02-18 10:26:11 -07:00
Shane Neuville 3072ecdf4a
Remove duplicate NS 2.0 on vsmac (#9612) 2020-02-17 10:39:51 -07:00
Shane Neuville fda127d525 TPV Additional Samples and event notification changes (#9487)
* TPV fixes and added CG demos

* - simplify two page sample

* - fixes

* - uwp screen size fixes

* - performance updates

* - android alive check

* - code cleanup and more samples

* - additional gallery updates

* - add one shot hinge angle to android head

* - add text

* - dispose of hinge changes

* - unit test compile fix

* - split hinge angle into separate file
2020-02-09 14:14:33 -07:00
Shane Neuville dd3dba3557
TPV API Adjustments (#9477)
* Api adjustments

* - fix constructor

* - windowing

* - app fix

* - windows fixes

* - add sample using DualSCreenInfo not with TPV

* - IVT for dual screen tests

* Update Xamarin.Forms.Controls/GalleryPages/TwoPaneViewGalleries/OpenCompactWindow.xaml.cs

Co-Authored-By: Samantha Houts <samhouts@users.noreply.github.com>

* Update Xamarin.Forms.Controls/GalleryPages/TwoPaneViewGalleries/OpenCompactWindow.xaml.cs

Co-Authored-By: Samantha Houts <samhouts@users.noreply.github.com>

Co-authored-by: Samantha Houts <samhouts@users.noreply.github.com>
2020-02-07 17:50:44 -07:00
Javier Suárez Ruiz 414e54837d
[Enhancement] AdaptiveTriggers (#9422)
* Initial AdaptiveTriggers commit

* Updated adaptive triggers implementation

* Fixed AdaptiveTrigger conflicts issue

* Improved OrientationStateTrigger

* Updated AdaptiveTrigger sample

* Improved StateTriggers conflicts resolution
Added CompareStateTrigger
Propagate BindingContext from parent VisualElement to StateTriggers

* Propagate BindingContext correctly to StateTriggers.

* Added StateTriggers unit tests

* Fixed broken unit tests.

* Added more StateTriggers unit tests

* Added more AdaptiveTriggers samples

* Fixed wrong line break

* Moved PropagateBindingContextToStateTriggers from View to VisualElement

* Added DualScreenStateTrigger

* Changes based on PR feedback (modify AdaptiveTrigger class to be sealed)

* Added AdaptiveTriggersExperimental

* Changes in OrientationStateTrigger to use Device Info INPC

* More changes to cover PR feedback

* Updated DualScreenStateTrigger to use TwoPaneViewMode enum instead a bool

* Fixed problem with WeakEventListener, unsubscribe events correctly

* - call update state when attaching

* - IsTriggerActiveChanged

* Update Xamarin.Forms.Core/StateTrigger.cs

* Update Xamarin.Forms.DualScreen/SpanModeStateTrigger.shared.cs

* - isactive simplify

* - update state

* - toggle state tests

* - fix flag on unit tests

Co-authored-by: Shane Neuville <shane94@hotmail.com>
2020-02-07 15:12:57 -07:00
Shane Neuville 3787131360
Fix TPV to adjust to native layout changes better (#9445) 2020-02-06 08:38:04 -07:00
Shane Neuville 202fa4787d
Fixes TPV so it works anywhere on the screen (#9427)
* Fixes TPV so it works anywhere on the screen
- add constructor for DualScreenInfo so users can apply it to whatever layout

* - fix layout checks

* - fixes

* - updates

* - no more invoke
2020-02-05 10:26:09 -07:00
Shane Neuville cfcf8169e8
TPV Initial Project Setup (#9418)
* TPV Initial Setup

* Update Xamarin.Forms.ControlGallery.WindowsUniversal/Xamarin.Forms.ControlGallery.WindowsUniversal.csproj

* - project fixes

* - partial

* code cleanup

* - nuspec updates

* - uitest fixes for mac

* - project fixes

* netcore app tests

* - tests

* mac fixes

* - yaml search filter

* - yaml

* - yaml

* - pane priority fixes

* - tall and wide mode config tests

* - add files back in

* - spacing fixes
2020-02-04 09:35:39 -08:00