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

4198 Коммитов

Автор SHA1 Сообщение Дата
sung-su.kim 8d5f26de77
Fix 8586 8587 - [Tizen] Added guard for CollectionView (#9367) fixes #8586 #8587
* [Tizen] Remove events on unbinding in CollectionView

- Resolves bug #8587

* [Tizen] Guard for sizeless layout requests in CollectionView

- Resolves bug #8586
2020-02-04 11:30:37 +00:00
Shane Neuville 1880507d8b
move scrolled overrides to listener (#9414) 2020-02-04 10:17:45 +00:00
Javier Suárez Ruiz a579d905de
[Android] Occasionally SwipeView rendering issues (#8849)
* Fixed occasionally  SwipeView rendering issues with multiple items

* Fixed issue disposing SwipeItems quickly opening and closing the SwipeView

* Updated issue description

Co-authored-by: Samantha Houts <samhouts@users.noreply.github.com>
fixes #8807
2020-02-03 18:29:20 -08:00
E.Z. Hart e85f446989
[iOS] Verify first group exists before measuring its header (#9287)
* Create UI test

* Add missing Preserve attributes for test classes

* Fix crash on UWP

* Verify that there are still groups before checking the group header size
Fixes #8899
2020-02-03 18:22:45 -08:00
Rui Marinho 98f3996739
[Controls] Fix 9355 on iOS (#9408) 2020-02-03 20:01:15 +00:00
Rui Marinho 7666d4ad93 Merge branch '4.4.0' into 4.5.0 2020-02-03 19:57:03 +00:00
Rui Marinho c1bdf538ea
[Controls] Fix loading vector on API19 (#9410) 2020-02-03 19:51:50 +00:00
E.Z. Hart 07991c5639
Propagate CollectionView BindingContext to Header/Footer on Android (#9361) fixes #8700
* Update Header/Footer gallery to use bound label so it will test this issue

* Propagate BindingContext to header/footer on Android
Fixed #8700

* Propagate CollectionView properties to the header/footer when they aren't templated

Co-authored-by: Rui Marinho <me@ruimarinho.net>
2020-02-03 18:45:07 +00:00
E.Z. Hart 3e244fce32
Don't attempt to merge UWP resources if they've already been added (#9350)
Fixes #9335
2020-02-03 10:40:59 -08:00
shane 71f4b4724a Merge branch '4.4.0' into 4.5.0
# Conflicts:
#	UWP.Build.props
2020-02-02 02:39:23 -07:00
Shane Neuville 7f37e44a56
fix TargetFramework comparison 2020-02-02 02:36:36 -07:00
Shane Neuville d81ef9da44
fix TPV (#9396) 2020-02-02 02:31:52 -07:00
shane 801f1ca351 Merge branch '4.4.0' into 4.5.0
# Conflicts:
#	.nuspec/Xamarin.Forms.nuspec
#	UWP.Build.props
#	UWP.Build.targets
2020-02-02 01:47:03 -07:00
Shane Neuville e9358642b3
Fix nuspec to copy xaml files from obj directory (#9395)
* copy xaml files from obj

* reference 14393

* - nuget
2020-02-02 01:42:15 -07:00
Shane Neuville 2ac3e114c5
Pull xaml files from obj directory (#9394) 2020-02-02 00:32:40 -07:00
Shane Neuville ed6bc42777 Merge branch '4.4.0' into 4.5.0 2020-02-01 18:43:06 -07:00
Shane Neuville 5af5f57155
Fix UWP Nuspec to copy correct NS version (#9388)
* fix ns references

* disable layout files

* - preserve

* - 2017 workarounds

* - winui
2020-02-01 18:42:07 -07:00
Shane Neuville 7c37cf9a52
Disable generate library layouts on maps project (#9393)
* disable generate library layouts

* - vs2017 fix

* - xaml files
2020-02-01 18:41:19 -07:00
Samantha Houts c4e8fc39bd Merge branch '4.4.0' into 4.5.0 2020-01-31 18:32:51 -08:00
Shane Neuville 8c3de6fb77
Let users override behavior on Navigation Renderer (#9386)
- only update toolbaritem specifically changed
fixes #9360
fixes #9278
2020-01-31 18:20:30 -08:00
Javier Suárez Ruiz 348bba2a01
Changed code to avoid the usage of some APIs that require an specific API Level on Android (#9175) 2020-01-31 18:15:35 -08:00
Javier Suárez Ruiz ca7a557cfb
Fixed SwipeItem tap issue on Android device (#9177)
fixes #9028
2020-01-31 18:14:21 -08:00
Shane Neuville 0488d70184
Remove uses of deprecated KeyWindow (#9334) 2020-01-31 18:12:05 -08:00
E.Z. Hart 436b2f0259
Rewrite NongreedySnapHelper with older APIs (#9378)
fixes #9030
2020-01-31 17:57:02 -08:00
Javier Suárez Ruiz 12234dde07
Allow to create more easily SwipeItems (#8757) fixes #8753
* Added new constructors to SwipeItems to allow to create more easily using CSharp

* Fixed build error

* Changed SwipeItems constructor

* Removed SwipeItem parameter constructor
Renamed internal SwipeItems collection

* Chain the ctors

Co-authored-by: Samantha Houts <samhouts@users.noreply.github.com>
2020-01-31 23:06:50 +00:00
Kevin Petit bdf34b52f5
[Android] Add dispose check to prevent crash (#9383) fixes #9355 2020-01-31 22:57:22 +00:00
Christopher Dresel 62a4724fe8
Use the MoreNavigationController DidShowViewController callback for shell sections (#6786)
* Use the MoreNavigationController DidShowViewController callback for shell sections

* Reset MoreNavigationController on navigation and set CustomizableViewControllers to empty collection for consistent experience,

* Added UI test for issue 6784
2020-01-31 15:42:07 -07:00
Rui Marinho c2dae0788c
[Android,iOS] Add Visual States to CarouselView items (#8785) fixes #7904 fixes #7997 fixes #8671
* [iOS] Add CarouselView states

* [iOS] Update method naming UpdateVisualStates

* [Android] Add Visual states to CarouselView items

* Update ExampleTemplateCarousel.xaml

* [Android] Implement Visual states for carousel items

* [Android] Cleanup on CarouselViewRenderer

* [Android] Add default state to view

* [Android] Fix when we update vsm

* [Android] Rollback change on adapter

* Update CarouselViewRenderer.cs

* [Android] Update States also when ScrollTo is requested

* [Android] Fix Teardown CarouselViewRenderer

* working-fix7904

* Cleanup

* Update App.cs

* [iOS,Android] Set initial position

* [Controls] Update sample Carousel

* [Core] Update current position on scroll

* [Controls] Cleanup

* [Core] Don't update position if we are scrolling to

* [Android]Rename  ScrollsToAction

* [ANdroid] Remove extra ScrollTo

* Update CarouselViewController.cs

* Cleanup

* [Android] Fix initilization Android CarouselView

* [iOS,Core] Add VisibleViews to CarouselView iOS

* [Android] Populate VisibleViews

* [Core,iOS,Droid] Move to a mroe explicit name for platform initialized

* [Core] Remove not used VisualState

* [Android] Fix scrollto when layout loads

* [Controls] Fix Carousel example gallery

* [Android]Better fix for ScrollTo when loading the RecyclerView

* [Android] Null check for eventhandler

* [iOS] Update if any ScrollToaActions exist

* [iOS, Android] Fix spelling CarouselViewRenderer

* [Android] Rename CarouselViewwOnGlobalLayoutListener
2020-01-31 20:12:13 +00:00
E.Z. Hart 096ea2f422
Avoid exception moving from empty to populated grouped CollectionView (#8808) fixes #7393
* Reproduce issue

* Automate the test

* Avoid internal consistency exception moving from empty to populated grouped ColV
Fixes #7393
2020-01-31 19:18:39 +00:00
Jon Robinson Levy 4650f29c86
Fix 8784 [UWP] Avoid Placeholder text overlapping Search Icon in SearchBar (#9150) fixes #8784
* Adding a test page for Issue 8743.

* Correcting UITestCategory

* Renaming AutoSuggestStyle.xaml -> FormsAutoSuggestBoxStyle.xaml; adding x:Key to AutoSuggestBox-style.

* Applying style to AutoSuggestBox in SearchNarRenderer - fixing 8743

* Removing comment about default style - as style is no longer default

* Fixing typo in class name for Issue8743 (was erroneously Issue8843, might create conflict)

* Making GlyphElement in FormsCancelButton template use TemplateBinding for FontSize instead of fixed 12 pts.

* Updating nuspec to include FormsAutoSuggestBoxStyle instead of AutoSuggestStyle

* Adding test page for Isuue 8784

* Changing ColumnSpan for PlaceholderTextContentPresenter to 1

* Changing ContentControl to ContentPresenter with ContentTemplate for ellipsis
2020-01-31 18:25:57 +00:00
Javier Suárez Ruiz 9cdc2c1379
Allow to use SwipeItem only with text or icon (#8822) fixes #8777 fixes #9108 fixes #9271
* Allow to use SwipeItem only with text or icon

* Updated Issue8777 to include Android platform
2020-01-31 16:18:50 +00:00
E.Z. Hart d0c772c2be
Set BindingContext for CollectionView cells earlier; fixes #9087 (#9273) 2020-01-30 15:12:21 +00:00
E.Z. Hart bb992c7cb1
Allow multiple selection updates with one notification in CollectionView (#8737) fixes #8203
* Repro and UI test

* Add method to allow renderers to update multiple selections with one changed notification;
Fixes #8203
2020-01-30 11:59:09 +00:00
Rui Marinho 7b55f0c7d0
Merge branch '4.4.0' into 4.5.0 2020-01-30 01:24:15 +00:00
Shane Neuville 554bab7b86
Remove gitversion from cake and fix UWP nugets (#9364)
* remove gitversion from cake

* - fix uwp nugets
2020-01-29 16:51:48 -07:00
Artem bc2d41e630
fix for #8564 (#9320) fixes #8564 2020-01-29 11:58:53 +00:00
Kevin Petit b04b5a1a1e
[Android] Refresh main page on activity resume if main page has been changed when activity was paused (#9257) fixes #9093 fixes #5236 2020-01-29 11:55:49 +00:00
Rui Marinho 06c41ad09a
[Android] Fix sizing and position on Android of the Indicators (#9343) fixes #8911 fixes #8934
* [Android] Center indicators by default

* [Core] Add an extra point to fix size issues on Android 10

* Update IndicatorView.cs
2020-01-29 11:55:05 +00:00
Shane Neuville 74db7f1c74
Query parameters were not being applied during simple navigation (#9348) fixes #9344 2020-01-29 11:52:52 +00:00
Shane Neuville ffe398b9ff Add Alert Dialog Classes to Proguard (#9318) fixes #9031 2020-01-28 20:07:18 +00:00
Rui Marinho 271e41c166
[iOS] Fix navigation bar background color in iOS13 (#9346) fixes #7701 fixes #7350 fixes #7679 (possibly)
* fix bar background color

* fix

* add back the csproj entry

Co-authored-by: adrianknight89 <adrianknight89@outlook.com>
2020-01-28 19:06:18 +00:00
Javier Suárez Ruiz cd9333c82b Centered text and icon in SwipeItems (#8823) 2020-01-28 09:57:56 -07:00
Shane Neuville 30b12eb631
propagate bindingcontext to ItemsLayout (#9221) 2020-01-27 15:52:50 -07:00
Shane Neuville 763daec3bd
add virtual to CreateShellTableViewController (#9327) 2020-01-27 15:52:19 -07:00
Rui Marinho 62ca9c8125 Merge branch '4.4.0' into 4.5.0 2020-01-27 11:19:30 +00:00
Shane Neuville a0aee2f333
Bump CG to 18362 for consistency (#9246) 2020-01-24 22:55:51 -07:00
Javier Suárez Ruiz 7d3a0f2cc2 Automatically close the SwipeView when scrolling (#8654) 2020-01-24 10:20:47 -08:00
Stephane Delcroix 528118926f [HR] complement the sourceinfo with assemblyname (#9294) 2020-01-24 11:45:16 +00:00
Shane Neuville 555a66280e Embed templates (#9225)
* Add default templates into sdk

* - maybe

* - wording

* - wording

* Update Xamarin.Forms.Platform.Android/AppCompat/FormsAppCompatActivity.cs

* - fix cause check
2020-01-23 11:56:12 +00:00
Shane Neuville 3f90ad1b4e Bump WinUI Nuget version if you are using Min target >= 16299 (#9132)
* bump winui when using high enough targeting

* - fix galleries

* - fix design and cake parameters
2020-01-23 11:14:33 +00:00