Xamarin.Forms 3.5.0.129452 (3.5.0) Release Notes

Getting Started | What's New | Known Issues | Breaking Changes | API Changes | Blogs | Feedback | Open Source

What's New in this Release

  • " Implemented colored refresh indicator for ListView pull-to-refresh" (#2961)
  • "[GTK] Do not show a label in gtk slider renderer" (#4098)
  • "[GTK] Fix synchronization context fairness" (#4237)
  • "[Tizen] Fix Window alpha update timing" (#4119)
  • "[Xaml] Support correctly custom resource providers" (#4236)
  • "[XamlC] Always enable implicit casting and boxing and unboxing" (#4238)
  • "[XamlC] Resolve generic parameters of a method with generic return type" (#4244)
  • "[XamlC] Resolve parameters in nested generics" (#4061)
  • "Implementation of method ForceUpdateSize for Cell on macOS" (#4104)
  • "Move GetNativeSize to PlatformServices, remove IPlatform" (#4235)
  • "Remove unnecessary ToArray to reduce number of BindableObject[] allocations" (#4101)
  • "XAML Previewer - Support for inline design data via mc:ignorable" (#4743) (#4781)
  • Github #1718 - "[Enhancement] Bindable Repeater control" (#4052)
  • Github #1724 - "[Enhancement] ImageButton" (#4436)
  • Github #1742/Bugzilla 52656 - "[Enhancement] ToolbarItem A11y" (#3974)
  • Github #1788 - "[Enhancement] Seal public attributes " (#4559)
  • Github #2057 - "[UWP] Enable dynamic overflow on ToolbarItems" (#4022)
  • Github #2691 - "Make XmlnsDefinitionAttribute Public" (#2782)
  • Github #2910 - "[Enhancement] Ability to set TextColor on TableSection" (#4379)
  • Github #3555 - "[Enhancement] Editor: Control over text-prediction " (#4023)
  • Github #3843 - "[Enhancement] Hide Scroll Bars on ListView" (#3897)
  • Github #3988 - "[UWP] Expose platform specific to set IsDynamicOverflowEnabled on the CommandBar" (#4022)
  • Github #4027 - "Adding OnColor property for SwitchCell" (#4036)
  • Github #4083 - "[Enhancement] remove sealed from Span" (#4331)
  • Github #4470 - "ImageButton and CSS" (#4482)
  • Github #4629 - "Picker/DatePicker/TimePicker on iOS iPad should NOT have word suggestions" (#4824) (added in 3.5.0.94564-pre3 (3.5.0 Pre Release 3))

Notable Changes

Features in Preview

To get started with these Xamarin.Forms 4.0 Preview features, enable each feature in your MainActivity.cs and AppDelegate.cs via the feature flags api:

global::Xamarin.Forms.Forms.SetFlags("Shell_Experimental", "Visual_Experimental", "CollectionView_Experimental");
global::Xamarin.Forms.Forms.Init(this, savedInstanceState);

Shell

  • "[Android] If drawable specified on shell doesn't exist don't dispose of it" (#4904) (added in 3.5.0.94564-pre3 (3.5.0 Pre Release 3))
  • "[Shell] allow missing trailing slash on uri" (#4595)
  • "[Shell][iOS] do not try to smartly unblend bgcolor" (#4593)
  • Github #2415 - "Xamarin.Forms.Shell Spec" (#4522)
  • Github #4382 - "[Shell] Crash when switching Bottom Navigation Tabs too fast" (#4617)
  • Github #4592 - "[Shell] compile the DataTemplateExtension" (#4641)
  • Github #4596 - "[Shell] queryParams in navigation not handled" (#4615)
  • Github #4603 - "[Shell] Shell push/pop Navigation broken" (#4604)
  • Github #4625 - "[Shell] statically expose the current shell" (#4626)
  • Github #4837 - "[Shell] Cannot pass querystring value to registered route" (#4843)
  • Github #4971 - "[Shell] Cannot navigate to a relative URI" (#4977) (added in 3.5.0.94564-pre3 (3.5.0 Pre Release 3))

CollectionView

  • "[Core] Fix check for CollectionView flag" (#4471)
  • "CollectionView Android Remove Multiple" (#4869) (added in 3.5.0.129452 (3.5.0))
  • "CollectionView Android Single Item Selection" (#4651)
  • "CollectionView iOS EmptyViewTemplate" (#4870) (added in 3.5.0.94564-pre3 (3.5.0 Pre Release 3))
  • "CollectionView iOS Move Item" (#4863) (added in 3.5.0.94564-pre3 (3.5.0 Pre Release 3))
  • "CollectionView iOS Replace Item" (#4865) (added in 3.5.0.94564-pre3 (3.5.0 Pre Release 3))
  • "CollectionView iOS Single Item Selection" (#4985) (added in 3.5.0.129452 (3.5.0))
  • "CollectionView SnapPointsAlignment/SnapPointsType" (#4414) (added in 3.5.0.94564-pre3 (3.5.0 Pre Release 3))
  • Github #3172 - "Xamarin.Forms.CollectionView Spec" (#4265)
  • Github #4366 - "[CollectionView] Failure to set ItemsSource causes an unhandled exception to occur" (#4536)
  • Github #4406 - "[CollectionView, Android] Items using a Grid in their template do not fill the screen's width" (#4569)
  • Github #4474 - "[iOS] Number of items not updating with Collection View Control Gallery tests" (#4535)
  • Github #4600 - "[iOS] CollectionView crash with empty ObservableCollection" (#4688)

Visual

Release History

  • Tuesday, February 5, 2019 - Xamarin.Forms 3.5.0.129452 (3.5.0)
  • Wednesday, January 23, 2019 - Xamarin.Forms 3.5.0.94564-pre3 (3.5.0 Pre Release 3)
  • Thursday, January 10, 2019 - Xamarin.Forms 3.5.0.62956-pre2 (3.5.0 Pre Release 2)

Tuesday, February 5, 2019 - Xamarin.Forms 3.5.0.129452 (3.5.0)

Issues Fixed

  • Github #1332 - "Scrollview does not resize when ContentSize changes when inside a Detail page" (#2635) (#4861)
  • Github #1760 - "Regression Issue - Content set after an await is not visible" (#2635) (#4861)
  • Github #2595 - "ScrollView.Content is not re-layouted on Android" (#2635) (#4861)
  • Github #3139 - "[UWP] : DisplayActionSheet Is Hiding behind Loader." (#3163)
  • Github #4561 - "Android: Keyboard navigation does not work after updating to 3.3" (#4612)
  • Github #4982 - "[UWP] ActivityIndicator Gallery crashing with COMException" (#4988)
  • Github #5001 - "XF 3.4 FlexLayout.OnChildPropertyChanged null ref when changing control height" (#5012)
  • Github #5030 - " Editor cause app crash after clicking the done/next button when on landscape mode in Android" (#5031)

Additional fixes included in this release

  • "[iOS] Remove unused ActionSheet code" (#5036)

Wednesday, January 23, 2019 - Xamarin.Forms 3.5.0.94564-pre3 (3.5.0 Pre Release 3)

Issues Fixed

Additional fixes included in this release

  • "[Android] If drawable specified on shell doesn't exist don't dispose of it" (#4904)
  • "[iOS] Fix unsubscribing the PropertyChanged event of the ViewCell" (#4728)

Thursday, January 10, 2019 - Xamarin.Forms 3.5.0.62956-pre2 (3.5.0 Pre Release 2)

Issues Fixed

  • Github #1399 - "ActivityIndicator width is autosize in absolutelayout is -1/0 on windows" (#3224)
  • Github #1480 - "[iOS] WebTryThreadLock error on WebView with TranslateTo" (#4160)
  • Github #2223 - "Entry's IsPassword property , when changed programmatically is not masking/unmasking text in the screen in Mac app " (#4175)
  • Github #2315 - "[Android] Changing from Portrait to Landspace while the calendar is open causes MinimumDate and MaximumDate to be visually ignored" (#4190)
  • Github #2322 - "[MacOS] Image from file not getting searched in the bundle" (#4247)
  • Github #2580 - "Adding accessibility tags to a label seems to cause the renderer to need more space " (#4433)
  • Github #2642 - "ControlTemplate sizing issue in WPF" (#2656)
  • Github #2663 - "FlexLayout incorrectly applies padding" (#4823)
  • Github #2752 - "[Binding] defaultValueCreator ignored Binding to an unresolved path" (#4541)
  • Github #2831 - "[IOS] label not rendering in BOLD when using a STYLE, Droid however works" (#4111)
  • Github #2881 - "[macOS] ContextActions on ListView not working" (#4243)
  • Github #2951 - "CarouselPage child pages don't fire OnAppearing after update to XF 3.0" (#4475)
  • Github #2952 - "[iOS] WebView not render/update HTML source after second call" (#4468)
  • Github #3208 - "Accessibility Name or HelpText properties added to Switch are visible in Android UI" (#4094)
  • Github #3331 - "[UWP] DatePicker allows a date to be selected which violates the MinimumDate property" (#3683)
  • Github #3385 - "[iOS] Entry's TextChanged event is fired on Unfocus even when no text changed" (#3433)
  • Github #3563 - "[Android] Platform.GetRenderer NullReferenceException" (#4567)
  • Github #3622 - "Android TalkBack reads elements behind modal pages" (#4401) (#4404)
  • Github #3715 - "[Feedback] Xamarin UWP ListView not calling ToString()" (#4016)
  • Github #3795 - "[Android/iOS] MasterDetail back button accessibility" (#3974)
  • Github #3930 - "[iOS] Rapidly clicking span on UI test 3525 throws a null exception on simulators" (#4109)
  • Github #3953 - "Java.Lang.NoSuchMethodError: no method with name='getLabelFor' signature='()I' in class Landroid/widget/TextView;" (#3996)
  • Github #3979 - "UWP: InvalidCastException on a Span with a style set via a dynamic resource" (#4024)
  • Github #3994 - "Binding does not update view when BindingContext is page itself" (#4028)
  • Github #4018 - "[Android] Entry resets FontFamily to default" (#4019)
  • Github #4026 - "Bindable Span height Issue" (#4448)
  • Github #4030 - "[macOS] Unhandled exception when switching pages: System.InvalidOperationException: Stack empty." (#4242)
  • Github #4040 - "Label TextColor is not Change When using FormattedString" (#4043)
  • Github #4053 - "AutomationProperties.Name on Button is visible on Android" (#4094)
  • Github #4093 - "When changing IsPassword property of an entry in runtime into true, the keyboard setting of entry is changed from numeric to default" (#4181)
  • Github #4102 - "x:DataType issue when there is a null object in binding path." (#4521)
  • Github #4103 - "TargetNullValue does not work with x:DataType" (#4490)
  • Github #4107 - "[Android] WebView breaks previewer on Android" (#4428)
  • Github #4116 - "[UWP] If a control rendered by ViewToRendererConverter is off the screen it causes UWP to crash" (#4532)
  • Github #4130 - "EventHandler Signature Error in 3.3.0 " (#4134)
  • Github #4194 - "SearchBar changes color if initial state is invisible" (#4229)
  • Github #4253 - "Javascript alert dialogs don't work when using WKWebView" (#4254)
  • Github #4262 - "Label HorizontalTextAlignment="Center" not working in conjunction with LineHeight on iOS " (#4275)
  • Github #4272 - "Xamarin.Forms Button ContentLayout property not working as expected" (#4449) (#4967)
  • Github #4295 - "Label Underline TextDecoration disappears after text change" (#4322)
  • Github #4303 - "[Android] TabbedPage's child is appearing before it should be" (#4309)
  • Github #4319 - "OnPlatform/OnIdiom markup extension not working using NamedSize" (#4500)
  • Github #4351 - "Previewer broken with latest Xamarin.Forms master builds" (#4355)
  • Github #4354 - "Regression: Xamarin.Forms Button Image position broken on Android" (#4449) (#4967)
  • Github #4360 - "UWP: TapGestureRecognizer works on Layout only if BackgroundColor is set" (#4508)
  • Github #4366 - "[CollectionView] Failure to set ItemsSource causes an unhandled exception to occur" (#4536)
  • Github #4381 - "[iOS] crash on reused page with ScrollView" (#4489)
  • Github #4382 - "[Shell] Crash when switching Bottom Navigation Tabs too fast" (#4617)
  • Github #4406 - "[CollectionView, Android] Items using a Grid in their template do not fill the screen's width" (#4569)
  • Github #4438 - "Compiled Bindings: Compilation Error - Object reference not set to an instance of an object" (#4483)
  • Github #4446 - "Unhandled Exception with boolean binding when ConverterParameter set instead of Converter" (#4453)
  • Github #4458 - "[UWP] Label MaxLines doesn't work" (#4528)
  • Github #4463 - "uwp's width of Control in titleview not auto change" (#4532)
  • Github #4474 - "[iOS] Number of items not updating with Collection View Control Gallery tests" (#4535)
  • Github #4484 - "[Android] ImageButton inside NavigationView.TitleView throw exception during device rotation." (#4507)
  • Github #4516 - "Binding to an empty collection with indexing throws unhandled exception" (#4525)
  • Github #4553 - "[Feedback] BindingError (Type Binding not found in xmlns)" (#4582)
  • Github #4596 - "[Shell] queryParams in navigation not handled" (#4615)
  • Github #4600 - "[iOS] CollectionView crash with empty ObservableCollection" (#4688)
  • Github #4603 - "[Shell] Shell push/pop Navigation broken" (#4604)
  • Github #4738 - "Metadata missing for Intellisense for constructor parameters" (#4846)
  • Github #4751 - "XAML Error message too vague: Error: The given key 'Xamarin.Forms.Xaml.ElementNode' was not present in the dictionary. " (#4786)
  • Github #4760 - "Generic base class for XAML markup extensions" (#4776)
  • Github #4782 - "[Android] 3rd party libraries that set the ImageButton drawable to null will cause ImageButtonRenderer to crash" (#4783)
  • Github #4837 - "[Shell] Cannot pass querystring value to registered route" (#4843)

Additional fixes included in this release

  • "[Android] Avoid acting on a disposed reference" (#4780)
  • "[Android] fix tabs from element with a tabstop false" (#4362)
  • "[Core] Fix check for CollectionView flag" (#4471)
  • "[Core] perf fixes on BindingExpression.TryConvert" (#4443)
  • "[GTK] Add support for ClickGestureRecognizer" (#3971)
  • "[GTK] Fix several memory leaks in the GTK backend" (#4112)
  • "[Shell] allow missing trailing slash on uri" (#4595)
  • "[Shell][iOS] do not try to smartly unblend bgcolor" (#4593)
  • "[Tizen] Fix PropagateEvent value properly on Cells" (#4191)
  • "[Tizen] Fix ToolbarItem" (#4416)
  • "[Xaml] Add provided value to collection" (#4456)
  • "[XamlC] Explicitly cast values for ldc.i4" (#4301)
  • "[XamlC] Port #1035 to compiled bindings" (#4454)
  • "Fix edge case in unsubscribing weak events" (#4538)
  • "Navigation Page double Popped event Workaround" (#3851)
  • "Properly detect SDK style projects" (#4699)
  • "Set ImageButton property of Android.ImageButtonRenderer public" (#4534)
  • "WPF - Map - Fix initial load of pins" (#4304)
  • Github #4620 - "XamlC Perf investigation" (#4624)

Known Issues

  • Github #4941 - "[UWP] Wrong exception thrown when NavigationPage is missing root page."
  • Github #4939 - "[UWP] NavigationPage TitleIcon not displayed"
  • Github #4937 - "[UWP] ListView not populating in UI test 1567 "
  • Github #4679 - "[Feedback] HorizontalTextAlignment="Center" looses alignment when TabbedPage background"
  • Github #1356 - "[UWP] The SelectedItem in a ListView is not highlighted when set while constructing a page"

Breaking Changes

  • DependencyAttribute, ExportEffectAttribute, PreserveAttribute, ResolutionGroupNameAttribute are now sealed. (#4559)
  • Picker/DatePicker/TimePicker on iOS iPad no longer have word suggestions (#4824) (added in 3.5.0.94564-pre3 (3.5.0 Pre Release 3))

API Changes

Blogs

Blogs

Feedback

Your feedback is important to us. If there are any problems with this release, check the Xamarin.Forms Forums and GitHub for existing issues. Report new issues and suggestions on GitHub.

Open Source

Xamarin.Forms 3.5.0 is based on the open-source Xamarin.Forms repository: