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

757 Коммитов

Автор SHA1 Сообщение Дата
E.Z. Hart 98d9245eb4
Remove requirement for CollectionView Experimental flag (#7907)
* CollectionView_Experimental is dead; long live CarouselView_Experimental!

* Change CollectionView enabling button labels to CarouselView for CarouselView tests

* Fix UI tests for Carousel

* Honor the CollectionView_Experimental flag for CarouselView

* Update Issue6963.cs

* Update Issue7817.xaml.cs

* Remove collection view flag settings
2019-10-16 09:44:47 -06:00
E.Z. Hart ba83b5846a Fix iOS crash when group type is not an IList (#7955) 2019-10-15 20:19:36 +02:00
Javier Suárez Ruiz 8da3ccf8e8 Fixed issue setting Position in CarouselView (#7901) fixes #7865
* Added sample file

* Updated sample

* Fixed the issue on Android and iOS

* Updated IsScrolling property from UWP CarouselView renderer

* Added repro sample instructions

* Update Issue7865.xaml.cs

* [iOS] Update IsScrolling from renderer
2019-10-15 15:37:40 +01:00
bill2004158 57e3dc6e1c Label size doesn't change when text changed (#7942)
- fixes #7888
2019-10-15 12:53:31 +02:00
adrianknight89 6388a3e75c [iOS] Various fixes with ItemsViewController (#7618)
* various fixes

* remove comment

* move delegator setting to ViewDidLoad

* fix delegator

* fix accessibility issue
2019-10-15 09:32:26 +01:00
E.Z. Hart f79080bcd1 Generics for CollectionView iOS implementation (#7918)
* Make the ItemsView type generic

* Make controller type generic

* Generic all the things, and split up the delegators

Fix rebase error
2019-10-10 16:21:22 -07:00
Javier Suárez Ruiz 76b4b96695 [Android/iOS] Fixed ItemsUpdatingScrollMode on CarouselView (#7872)
* Added repro sample

* Updated sample

* Fixed issue on Android

* Fixed issue on iOS

* Updated sample

* Updated instructions

* Fixed property changed propagation from CarouselViewRenderer to ItemsViewRenderer
2019-10-10 09:31:05 -06:00
E.Z. Hart 88dfa6c2ed
[UWP] [iOS] Verify selected items exist when updating native selections (#7902)
* Add selection synchronization tests

* Resync native selection after ItemsSource is updated

* Update native selection on iOS when changing ItemsSource; prevent crash when
selection contains items not in source; fixes #6963

* Automated test
2019-10-10 09:16:38 -06:00
Javier Suárez Ruiz 724185eac8
[iOS] Fixed crash displaying strings in CarouselView (#7858)
* Added repro sample

* Fixed the crash on DequeueReusableCell registering the correct cell types

* Added instructions to the test

* Fixed wrong paths on Controls Issues projitems
2019-10-09 09:52:27 +02:00
Javier Suárez Ruiz 7863614ec0
[iOS] Fix issue changing the ItemTemplate on CollectionView dynamically (#7743)
* Fixed Issue 7742: Change CollectionView ItemTemplate programmatically

* Fixed typo

* Removed invalid test
2019-10-08 20:06:07 +02:00
adrianknight89 51fb38f30b [iOS] Alternative proposal for PR 7794 (#7811)
* emptyview fix

* fix

* added collectionview flag

* added using for List

* fix formatting

* fix formatting 2

* fix formatting 3

* fixes

* fix test
2019-10-08 17:44:49 +02:00
Stephane Delcroix 5d1ef547f0 Merge branch '4.2.0' into 4.3.0 2019-10-07 11:54:46 +02:00
melimion 7e136aef4a [macOS] Fix Image Rotation issue (#7815) fixes #5395
* AnchorPoint fix

* rotation and translationY direction fix

* clipping fix

* test added

* anchor point and position translation fixed

* test update
2019-10-04 15:08:45 +01:00
adrianknight89 32cb21ae0d [iOS] Fix hard crash when horizontal GridViewLayout is refreshed (#7612) fixes #7593
* fix refreshview issue

* fix path

* remove extra line after rebase
2019-10-04 01:36:53 +01:00
Javier Suárez Ruiz 9cf4ccdc6f Fixed PeekAreaInsets not working on iOS (#7802) 2019-10-03 23:47:16 +01:00
Rui Marinho b86351d71d
Revert "ios: raise touch event on touchbegin. (#6989) fixes #3320" (#7787)
This reverts commit dca82ed828.
2019-10-03 09:50:00 +01:00
Stephane Delcroix 3108ee3d4c Merge branch '4.2.0' into 4.3.0 2019-10-02 15:08:09 +02:00
Gerald Versluis aa3c676f16 Fixed clipping when using FontImageSource (#7607) fixes #6491 fixes #7469 fixes #7414
* Fixed issue

* Fixes #7469
2019-10-02 08:57:22 +01:00
kingces95 f6f7d5d6f3 NRE fix reported in 7399 (#7704) fixes #7399 2019-10-02 08:54:12 +01:00
v-haroha dca82ed828 ios: raise touch event on touchbegin. (#6989) fixes #3320
* ios: raise touch event on touchbegin.

* bugfix - listview highlight on tap, select on tap release
updated touch gester to highlight on Touchbegin and select on touchend. Also remove highlight when tab view is scrolling.

* - fix CI

* - fix CI
2019-10-01 16:59:59 +01:00
adrianknight89 9607714d9b [Android/iOS] Expose CollectionView scroll listener (#7737)
* expose scroll listener

* expose ios delegator creation
2019-10-01 16:43:03 +01:00
Shane Neuville 665a04ee60 Update iOS MDP Tablet Renderer to use current APIS for Master Behavior (#7705) fixes #7556
* Update iOS MDP Tablet Renderer to current APIS for Master Behavior

* - fix build
2019-10-01 16:35:56 +01:00
Shane Neuville ffb1992ed6 Invalidate layout on ViewCell if Measurements change (#7755) 2019-10-01 16:21:08 +01:00
Rui Marinho 231c2e2ac7 Merge branch '4.2.0' into 4.3.0 2019-09-30 02:29:36 +01:00
Stuart Lang 327fa3c5e4 Handle case where GetRenderer retuns null (#7566) Fixes #7563 2019-09-29 22:01:37 +01:00
adrianknight89 b6bee5f169 [Android/iOS] Handle dynamically switching between item layouts in CollectionView (#7613) fixes #5354
* switch between item layouts

* drop private

* added ui test
2019-09-29 00:50:22 +01:00
Javier Suárez Ruiz 7cef5d070a [RefreshView] Fire RefreshCommand setting IsRefreshing (#7398)
* refresh view ui tests

* Fixed issue notifying changes in IsRefreshing property

* Fire RefreshCommand setting IsRefreshing to true

* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems

* Update Xamarin.Forms.Core.UITests.Shared/UITestCategories.cs

* Added RefreshView UITests

* - ui test with swipe

* - change to drag

* - fix ui test

* - remove extra property changed event
2019-09-26 23:19:12 -06:00
adrianknight89 c09c373e97 [iOS] Fix MeasureFirstItem for CollectionView (#7622)
* fix MeasureFirstItem

* added test

* changed file name

* fix path

* added text

* remove 5455

* drop private
fixes #7621
2019-09-26 17:16:03 -07:00
Gerald Versluis dd11b6e943 [BUG/iOS] Fixed CollectionView Insets ItemSpacing (#7158)
* Fix 7035

* Update Xamarin.Forms.Controls.Issues.Shared.projitems

* Update ItemsViewLayout.cs

* Update test case to show span issue

* Update AppDelegate.cs

Remove test setting

* Update Xamarin.Forms.Controls.Issues.Shared.projitems

* Update Issue7035.xaml
2019-09-26 18:23:41 +01:00
Rui Marinho 599a0a4d4d
[iOS,Android] Better way to get CurrentItem (#7587)
* [iOS] Fix finding center cell

* [UITests] Fix drag on vertical  

* [UItests] Make uitest more reliable

* [iOS] Simplify set current item

* [Android] Use scrolled to get CurrentItem

* [UITests] Fix UItests on api19 android

* [Android] Fix merge
2019-09-24 00:02:47 +01:00
E.Z. Hart 025e1694d8 Make sure transition from empty CollectionView measures cell size; fixes #7472 (#7580)
fixes #7472
fixes #7548
2019-09-20 10:37:15 -07:00
Rui Marinho ce39845e9e Merge branch '4.2.0' into 4.3.0 2019-09-17 21:31:01 +01:00
Shane Neuville ba24243160 Check to see if the BeginRefresh request is no longer needed (#7514) fixes #7313
* fix refresh to not fire twice

* - add automated ui test
2019-09-17 16:46:55 +01:00
Shane Neuville 636077b9e1 [Android/iOS] Update CollectionView when user changes out the header/footer (#7499)
* update cv when user changes out the header/footer

* - fix android to convert back from pixels on scroll
- fix iOS offset on scroll args to account for header size and content inset

* - fix for new api

* - fix redundant BP
2019-09-17 11:32:57 +02:00
adrianknight89 307b645727 [iOS] Remove class variable from CarouselViewLayout whose value is always true (#7484)
* remove unused variable

* comment change
2019-09-17 10:38:48 +02:00
ShaneN 240219078f merge 4.2.0 into 4.3.0 2019-09-14 18:52:56 -06:00
Shane Neuville d6559d53ee Check if Control is ready before interacting with Native control (#7523)
* Check if control is ready before setting Text

* - make 7.0 compatible
2019-09-15 01:40:55 +01:00
E.Z. Hart a68dd21dc0 Remove extra properties from CarouselView API (#7456)
* Remove Header/Footer properties from CarouselView

* Limit CarouselView to LinearItemsLayout

* Rework inheritance for UWP

* Split files by class

* Fix up Tizen renderer
2019-09-13 10:55:27 +01:00
Samantha Houts 24fec62cdd Merge branch '4.2.0' into 4.3.0 2019-09-12 15:55:09 -07:00
Samantha Houts 971942a11d
[iOS] If ListView is disposed before callback happens, return early (#7428)
* Add test case

* Update Issue7371.cs

* Update Issue7371.cs

* [iOS] If ListView is disposed before callback happens, return early

fixes #7371
2019-09-12 13:02:49 -07:00
Shane Neuville 88bc6a80ce
move await to Begin Invoke and check for disposed (#7192) 2019-09-11 10:28:21 -06:00
E.Z. Hart 783cf9d81e
[iOS] More intelligent cell resizing (#7285)
* More intelligent cell resizing; fix infinite layout loop and crash;
Reuse template views instead of re-creating them every time;
Fixes #7128

* Fix attribute ambiguity

* Drop trailing 'and'
2019-09-09 09:46:07 -06:00
Samantha Houts 0dfade22be Merge branch '4.2.0' into 4.3.0 2019-09-05 10:27:20 -07:00
Shane Neuville 60bda80da6 Fix RTL behavior for MasterDetailsPage when running on iOS 13 iPads (#7271)
* Fix RTL on iOS 13 tablets with MDP

* - add backgrounding extension for iOS
fixes #7224
fixes #7266
2019-09-04 17:28:24 -07:00
Javier Suárez Ruiz 79dd23edcb [Android, iOS] Fix CarouselView Issues (#7366)
* Fixed CarouselViewGalleries sample on Android

* Protect NRE setting the CurrentItem

* Fixed issue changing the ItemsSource

* Fixed issues with NumberOfSideItems and PeekAreaInsects properties on Android

* Fixed formatting

* Fix ItemSpacing issue on Android

* Fixed vertical peek insets iOS

* Center item after change ItemSpacing
Improve IsSwipeEnabled logic on Android (disable swipe but not touch)

* Update max slider value when item count is updated

* Update CarouselCodeGallery.cs

* NoOfSideItems in test page
2019-09-04 14:48:51 +01:00
Shane Neuville 5b6d7a2b14 Fix iOS footer and header to layout left and right for horizontal layout (#7308) fixes #7246
* fix iOS footer and header to layout left and right for horizontal layout

* - however much
2019-09-04 00:52:42 +01:00
E.Z. Hart 656835123b Verify sections exist before calling NumberOfItemsInSection; fixes #7338 (#7354)
fixes #7338
2019-09-03 10:03:16 -07:00
Rui Marinho f232ed57d5
[iOS] Fix Scrolled, don't use UITableView delegate (#7328) 2019-09-02 17:04:57 +01:00
Stephane Delcroix c7cabcca22 try fo fix CI builds 2019-09-02 12:27:44 +02:00
Stephane Delcroix f4d47123c8 Merge branch '4.2.0' into 4.3.0 2019-09-02 10:22:59 +02:00