E.Z. Hart
83a244801e
Make it easier to create custom renderers for alternate CV layouts on Android ( #6990 )
...
Demo of StaggeredGridLayoutManager on Android
2019-07-30 11:27:36 +01:00
Andrei Nitescu
9cbd3017f9
CollectionView Android - Fix adapter update ( #6840 )
...
* CollectionView Android - Fix adapter update #6840
* Fix missing end tag
* Added APP compiler directive
* Update Issue6644.xaml.cs
fixes #6644
fixes #6839
2019-07-29 10:37:52 -07:00
Rui Marinho
d5c5babc3c
Merge branch '4.1.0' into 4.2.0
2019-07-29 10:23:54 +01:00
Rui Marinho
0325361462
Merge branch '4.0.0' into 4.1.0
2019-07-29 10:22:33 +01:00
Shane Neuville
dfe9c24ff4
[Android] add check for double dispose scrollview/page/platform ( #6923 )
2019-07-26 09:54:10 +02:00
Pavel Yakovlev
beab7a98bd
[Android] Fix previewer exceptions with SearchBar ( #6930 ) fixes #4108
...
* [Android] fixes previewer exceptions with SearchBar
* added comment
2019-07-25 17:39:08 +01:00
adrianknight89
03afb32d2b
[Android/iOS] RemainingItemsThreshold and Scrolled implementation for CollectionView ( #5754 )
...
* infinite scroll capability
* remove added line
* scroll event implementation
* add offset calculation for GridLayoutManager
* removed custom layout managers
* renamed variables
* changed comment
* implement CenterItemIndex
* fixed pageSize
* removed artifact
* handle the case when the layout manager is not linear
* fix comment
* call base dispose
* code review changes
* remove unused references
* indentation fix
* fix compilation issues
* revert cleanup
* fix
* fix crash
* fix test
* fix index issue
* removed unused method
* fix
* moved private variables into app scope
* Added back UI test
* Name to AutomationID
* added command parameter and addressed minor suggestions
2019-07-25 15:07:28 +02:00
Stephane Delcroix
248e1ce456
Merge branch '4.1.0' into 4.2.0
2019-07-23 18:12:34 +02:00
Pavel Yakovlev
b874166c50
[Android] Fix previewer exceptions with TabbedPage ( #6897 )
...
* [Android] Fix previewer exceptions with TabbedPage
* - consolidated code
2019-07-22 10:53:28 -06:00
Kevin Petit
84a4f1ca27
Fix - Prevent race condition between activity create and dispose. ( #6596 )
2019-07-19 11:50:02 +01:00
Samantha Houts
42f304f612
Merge branch '4.1.0' into 4.2.0
2019-07-17 20:03:30 -07:00
Samantha Houts
f97439af3a
Merge branch '4.0.0' into 4.1.0
2019-07-17 19:58:30 -07:00
Pavel Yakovlev
8f85f2d8a5
[Android] refactoring fixes layouts ( #6390 )
...
* [Android] refactoring fixes layouts (issues 1332, 1760, 5766, 5184, 6297)
* issue3000 and ToolbarItem tests should be passes
* MaybeRequestLayout extension method
* added automated UITest 5766
* fix 5766
* fix 6297
* merge 6297 into 5766 uitest
* rename test
2019-07-17 19:29:07 -06:00
E.Z. Hart
4d045c356b
Implement ItemsUpdatingScrollMode on Android and iOS ( #6879 )
2019-07-16 11:40:26 -06:00
Samantha Houts
43443f4c9f
[Android] Unhook WebView.EvaluateJavascriptAsync on Dispose ( #6674 )
...
* Add repro for #6286 (doesn't crash, though)
* [Android] Unhook WebView.EvaluateJavascriptAsync on Dispose
fixes #6286
2019-07-15 19:17:48 -07:00
Ravinder Jangra
8931dbd8ee
Add Scrollbar Visibility option to the CollectionView ( #6602 )
...
* Add Horizontal and Vertical Scrollbar Visibility option to the CollectionView
* bump gitinfo
* make requested changes
* Add Android implementation
* use ScrollBarVisibility.Default instead of 0 and other requested changes
fixes #6053
2019-07-11 16:03:12 -07:00
Kevin Petit
bb6366f42b
[Android] Uniformize handler name (CollectionView) ( #6720 )
...
* CollectionView - Uniformize handler name.
* Address naming feedback.
* Revert BOM.
2019-07-10 18:34:26 -07:00
Joe Manke
ed26340b0e
Auto-focus next view from Entry with ReturnType.Next ( #6706 )
...
* Automatically focus the next view after hitting the Return key on an Entry with ReturnType.Next
* UWP implementation
2019-07-10 19:18:42 +02:00
Alan Grgic
feb0072128
[Android] Fix KeyNotFoundException during Shell Navigation ( #6740 )
...
* fix android shell nav crash
* add reproduction test
* add automation and address feedback
* move fragmet creation of stack items to after switch statement
* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue6738.cs
Co-Authored-By: Shane Neuville <shane94@hotmail.com>
* [iOS] fix shell section disposals so multiple page renderers don't get assigned
2019-07-09 18:24:10 -06:00
Andrei Nitescu
9493446d93
Fix for Switch on Android losing shadow #6798 ( #6798 )
2019-07-08 16:51:37 -07:00
Shane Neuville
069f68e8b7
[Shell] Flyout TableView height fix and implement margins for Flyout Header ( #6572 )
...
* [ios] fix safeareas and use marging to offset flyout
* android fixes for margin
* [iOS] frame size and inset fixes
* android fix header offset
* Update Xamarin.Forms.Platform.iOS/Renderers/ShellTableViewController.cs
Co-Authored-By: Pavel Yakovlev <v-payako@microsoft.com>
* top offset fixes
* add mask back in for scrolling header
* fix NRE when FlyoutHeader is null
* tweak Bugzilla26993Test
2019-07-07 16:08:31 -06:00
Shane Neuville
24fab93cb4
Clear global routes on unit tests and process global routes in the right place ( #6781 )
...
* Clear global routes on unit tests and process global routes in the right place
* - route with current item in case shellSection is null
* inset ui test fix
* Fix ColorFilter for API 19
* add missing file
2019-07-06 13:56:10 -06:00
Andrei Nitescu
a21caa5389
Switch ThumbColor ( #6312 )
...
fixes #5415
2019-07-03 17:08:56 -07:00
Shane Neuville
490be76aab
Shell lifecycle ( #6527 )
...
* shell appearing and disappearing events
* life cycle UI tests and fixes
* - fix appearing on shell content to only fire when page gets created
- fix navigated to only fire after shell content is appearing
* OnNavigatedOnlyFiresOnce
fixes #6486
2019-07-03 16:53:45 -07:00
ShaneN
97a558a252
Merge branch '4.1.0'
2019-06-30 10:02:55 -06:00
ShaneN
ca1e3fd3b8
Merge branch '4.0.0' into 4.1.0
2019-06-30 10:02:26 -06:00
Shane Neuville
e22494884b
request layout of measure changes force layout if it doesn't ( #6704 )
2019-06-30 10:00:34 -06:00
Kevin Petit
56e99c84cb
[Android] Fix various issues in object dispose methods. ( #6467 )
...
* Android - Fix various issues in object dispose methods.
* Tear down old element before disposing the ItemViewAdapter.
* More fixes.
* NavigationPageRenderer - Reorder ResetToolbar and remove view before dispose
ShellSectionRenderer - Call base.Destroy last + Remove and destroy _scrollview
* Remove obsolete code.
* Fix build.
2019-06-28 11:53:49 +01:00
Samantha Houts
5aeebd1252
Merge branch '4.1.0'
2019-06-24 16:38:27 -07:00
E.Z. Hart
96a26e1910
Undo broken change in un-watching empty view observer;
...
This may cause a small leak in some corner cases, but that leak is fixed by
2019-06-24 13:47:46 -06:00
Samantha Houts
62dfadabf2
Merge branch '4.1.0'
2019-06-20 17:39:25 -07:00
Samantha Houts
c556f85fd4
Merge branch '4.0.0' into 4.1.0
2019-06-20 17:10:59 -07:00
Shane Neuville
dd22e787d7
[Android] Change elevation to use float.minvalue instead of negative infinity ( #6560 )
...
* change negative infinity to float.minvalue
* api 19 fixes
2019-06-19 19:54:07 -07:00
E.Z. Hart
ccb4ae0af7
Implement ItemSizingStrategy.MeasureFirstItem on Android ( #6422 )
...
* Implement ItemSizingStrategy.MeasureFirstItem on Android
* Remove unnecessary method
2019-06-19 19:28:43 -07:00
Kevin Petit
22dd496206
[Android] Dispose the collection view item adapter ( #6525 )
...
* [Android] Dispose the collection view adapter.
* More complete fix.
2019-06-19 19:27:25 -07:00
Gerald Versluis
2a319084c5
[Android] Hamburger icon not shown when using FormsAppCompatActivity ( #6548 )
...
* Update NavigationPageRenderer.cs
* Add reproduction for #2577
* Update NavigationPageRenderer.cs
* Taking into account MasterDetailPage and GetHasBackButton correctly
* Update NavigationPageRenderer.cs
fixes #2577
2019-06-19 19:27:04 -07:00
Samantha Houts
4356c6736a
Merge branch '3.6.0' into 4.0.0
2019-06-19 19:25:10 -07:00
Shane Neuville
3a5614bead
don't setup webview if running as designer ( #6592 )
2019-06-19 16:52:31 -07:00
Gerald Versluis
b580920666
Added missing named sizes ( #6591 )
...
fixes #6517
2019-06-19 16:40:59 -07:00
Gerald Versluis
578d0f92a4
Make ShellTabLayoutAppearanceTracker public ( #6530 )
...
fixes #6529
2019-06-19 16:30:33 -07:00
Pavel Yakovlev
4b8997b705
[Android] Fixes loading image from uri ( #6394 )
...
* [Android] Fixes loading image form uri
* - modified Issue4597 test
* nested function is removed
* moved redundant code
* Update Xamarin.Forms.Platform.Android/Extensions/ImageViewExtensions.cs
Co-Authored-By: Pavel Yakovlev <v-payako@microsoft.com>
fixes #6313
2019-06-19 16:26:40 -07:00
Pavel Yakovlev
ffbbd3f16d
[Android] Fixes layout in AppCompat ButtonRenderer ( #6329 )
...
* [Android] Fixes layout in AppCompact ButtonRenderer
* - fixes button alignment when fast changing padding
- fixes material button alignment
* refactoring
* forceLayout
* generalize force layout
* if APP check on ui test
fixes #6282
2019-06-19 16:24:50 -07:00
Pavel Yakovlev
ccfd6170cc
[Android] fix accessibility of Picker ( #5125 )
...
* [Android] fix accessibility of Picker
* fix NRE
* fixes read selected item with accessibility
* refactoring test
* added dispose of accessibility delegate
* fix build uitest
* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue3454.cs
Co-Authored-By: paymicro <v-payako@microsoft.com>
* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue3454.cs
Co-Authored-By: paymicro <v-payako@microsoft.com>
2019-06-19 16:23:00 -07:00
Samantha Houts
0c6e2c957b
[Android] Add disposed check to MasterDetailPageRenderer ( #6354 )
...
* [Android] Add disposed check to MasterDetailPageRenderer
Co-Authored-By: Felipe Silveira <transis2@users.noreply.github.com>
* Fix dispose pattern
a la #6305
* apply same set of changes to NavigationPageRenderer
fixes #3489
closes #4586
2019-06-19 15:55:59 -07:00
Pavel Yakovlev
3df78bc674
[Android] hide keyboard after tapping on pickers ( #6284 )
...
fixes #6235
2019-06-19 15:54:00 -07:00
Rui Marinho
a874f52adc
Merge branch '4.1.0'
2019-06-19 23:49:46 +01:00
Andrei
ec89cba859
[Android] Fixed applying effects to Frames ( #6412 )
...
* [Android] Fixed effects applying to Frame
fixes https://github.com/xamarin/Xamarin.Forms/issues/3548
* Added ui test case
* added UITest
* fixed test case's affected platform
Co-Authored-By: Shane Neuville <shane94@hotmail.com>
2019-06-19 10:59:32 -06:00
ShaneN
8d526f34a8
merge 4.1.0 into master
2019-06-18 10:49:34 -06:00
ShaneN
d77fccdaa6
Merge 4.0.0 into 4.1.0
2019-06-18 10:42:55 -06:00
Shane Neuville
a169cf7f69
[Android] Fix context actions icon so that it loads ( #6437 ) fixes #6258
...
* fix icon load loading and setting accessibility on menuitem
* instructions
* clean up
* Update Xamarin.Forms.Platform.Android/Extensions/AccessibilityExtensions.cs
Co-Authored-By: Pavel Yakovlev <v-payako@microsoft.com>
* Update Xamarin.Forms.Platform.Android/ResourceManager.cs
* Update Xamarin.Forms.Platform.Android/CellAdapter.cs
Co-Authored-By: Pavel Yakovlev <v-payako@microsoft.com>
* Fix load TitleIcon on non app compact
* apply valid check one more place
* automate titleicon fixes
* fix ui tests and removed _isdisposed
* toolbaritem ui test tweaks
* toolbar tweaks
* ios toolbaritem tweak
* update menuitem to read like other platforms
* retain automationid if content desc not set
2019-06-18 11:20:36 +01:00