Xamarin.Forms 3.1.0 Service Release 2
Updated: 8/2/2018
Getting Started | What's New | Blogs | Feedback | Open Source
Highlights!
Android Bottom Tabs
With a new platform specific you're able to move the Android TabBar to the position you require: Top, Bottom, Default.
On<Android>().SetToolbarPlacement(ToolbarPlacement.Bottom);
or
<?xml version="1.0" encoding="utf-8"?>
<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core"
android:TabbedPage.ToolbarPlacement="Bottom"
...
What's New in this Release
- "[iOS Maps] Pin rendering customization" (#1065)
- "[Tizen] Add Button.Pressed and Button.Released events" (#1981)
- "[Tizen] Change the appearance of Entry/Editor even better" (#2147)
- Github #1340 - "[Enhancement] Bindable Span" (#1850)
- Github #1610 - "Picker only opens when clicking on the arrow, not anywhere else [Mac]" (#1831)
- Github #1660 - "[Enhancement] IsSpellCheckEnabled on Entry/Editor" (#2116)
- Github #1662 - "[Enhancement] Ability to set color for switch" (#1929) (#2468)
- Github #1670 - "[Enhancement] Hide ScrollView scroll bars." (#1910)
- Github #1672 - "[Enhancement] UWP: Button: AccessKey support" (#2061)
- Github #1677 - "[Enhancement] Entry: Control over text-prediction" (#2038) (#2161)
- Github #1683 - "[Enhancement] AutoCaptialization support for Entry/Editor" (#1833) (#2116)
- Github #1684 - "[Enhancement] Color on Slider" (#1781) (#2065) (#2072)
- Github #1697 - "[Enhancement] Add ButtonType for return Entry and done Editor" (#2029)
- Github #1699 - "[Enhancement] Add EvaluateJavaScript method to WebView" (#2140)
- Github #1705 - "[Enhancement] Icon on TabbedPage UWP" (#1952)
- Github #1707 - "[Enhancement] Drop shadow support for iOS/UWP" (#1896)
- Github #1733 - "Autoresizable Editor " (#2091)
- Github #1739 - "[Enhancement] Allow hooking into an App's DI Container" (#1870)
- Github #1801 - "[Enhancement] Add SelectionMode property to ListView" (#2143) (#2206)
- Github #1933 - "GTK: App Lifecycle events have not been implemented" (#1995)
- Github #2104 - "If possible remove the use of async void inside FormsAppCompatActivity life cycle methods" (#2122)
- Github #2459 - "XAMLC fails on lowercase color even though it works" (#2494)
- Github #2549 - "When using XAML compilation, binding to undeclared namespace creates hard to diagnose error " (#2568)
Notable Changes
Thanks to our community, we've added another 16 F100 features!
- Github #1340 - "[Enhancement] Bindable Span" (#1850)
- GitHub #1675 - "[Android] TabbedPage: Bottom Tab Bar" (#1748)
- Github #1660 - "[Enhancement] IsSpellCheckEnabled on Entry/Editor" (#2116)
- Github #1662 - "[Enhancement] Ability to set color for switch" (#1929) (#2468)
- Github #1670 - "[Enhancement] Hide ScrollView scroll bars." (#1910)
- Github #1672 - "[Enhancement] UWP: Button: AccessKey support" (#2061)
- Github #1677 - "[Enhancement] Entry: Control over text-prediction" (#2038) (#2161)
- Github #1683 - "[Enhancement] AutoCaptialization support for Entry/Editor" (#1833) (#2116)
- Github #1684 - "[Enhancement] Color on Slider" (#1781) (#2065) (#2072)
- Github #1697 - "[Enhancement] Add ButtonType for return Entry and done Editor" (#2029)
- Github #1699 - "[Enhancement] Add EvaluateJavaScript method to WebView" (#2140)
- Github #1705 - "[Enhancement] Icon on TabbedPage UWP" (#1952)
- Github #1707 - "[Enhancement] Drop shadow support for iOS/UWP" (#1896)
- Github #1733 - "Autoresizable Editor " (#2091)
- Github #1739 - "[Enhancement] Allow hooking into an App's DI Container" (#1870)
- Github #1801 - "[Enhancement] Add SelectionMode property to ListView" (#2143) (#2206)
Release History
- Wednesday, August 1, 2018 - Xamarin.Forms 3.1.0.697729 (3.1.0 Service Release 2)
- Monday, July 9, 2018 - Xamarin.Forms 3.1.0.637273 (3.1.0 Service Release 1)
- Wednesday, June 20, 2018 - Xamarin.Forms 3.1.0.583944 (3.1.0)
- Friday, June 8, 2018 - Xamarin.Forms 3.1.0.561732-pre4 (3.1.0 Pre Release 4)
- Tuesday, June 5, 2018 - Xamarin.Forms 3.1.0.550168-pre3 (3.1.0 Pre Release 3)
- Friday, June 1, 2018 - Xamarin.Forms 3.1.0.530888-pre2 (3.1.0 Pre Release 2)
- Tuesday, May 8, 2018 - Xamarin.Forms 3.1.0.469394-pre1 (3.1.0 Pre Release 1)
Wednesday, August 1, 2018 - Xamarin.Forms 3.1.0.697729 (3.1.0 Service Release 2)
Issues Fixed
- Github #1490 - "FormsAppCompatActivity.OnDestroy occasionally throws "No view found for id" exception for Android N devices" (#3187)
- Github #2338 - "[Android] Crash when switching MainPage from MDP to Page in Init/Appearing/ctor" (#3187)
- Github #3000 - "horizontal Scrollview breaks scrolling when flowdirection is set to rtl" (#3299)
- Github #3186 - "Java.Lang.NoSuchMethodError: no method with name='isInLayout' signature='()Z on Android 4.1.2" (#3253)
- Github #3250 - "Intermittent null exception in UWP OnPageAlert()" (#3268)
- Github #3297 - "[UWP] No navigation bar on UWP when using version 3.1.0.637273" (#3298)
Monday, July 9, 2018 - Xamarin.Forms 3.1.0.637273 (3.1.0 Service Release 1)
Issues Fixed
- Github #1342/Bugzilla 60813 - "[iOS] ListView throws Exception on ObservableCollection.Add/Remove" (#3090)
- Github #1483 - "Xamarin.Forms.ActivityIndicator in Forms v 2.5 doesn't work (UWP)" (#3074)
- Github #1542 - "ListView update through another view throws exception" (#3090)
- Github #1556/Bugzilla 56831 - "Animation tasks do not complete when Battery Saver enabled" (#3148)
- Github #1900/Bugzilla 59896 - "Xamarin ios ListView ObservableCollection<myClass>. Collection.Add() throwing 'Index # is greater than the number of rows #' exception" (#3042)
- Github #1927 - "iOS ListViewRenderer has a bug in row insertion/deletion logic." (#3090)
- Github #1939 - "ArgumentOutOfRangeException on clearing a group on a grouped ListView on Android" (#3078)
- Github #2279 - "[Android] TabbedPageRenderer does not watch for changes in child page icons" (#3146)
- Github #2617 - "[UWP] Error on binding ListView with duplicated items" (#3060)
- Github #2740/Bugzilla 40692 - "[Android] System.NotSupportedException: Unable to activate instance of type Xamarin.Forms.Platform.Android.PageContainer from native handle" (#3107)
- Github #2798/Bugzilla 59868 - "[iOS] Secondary Toolbar Items overlapping" (#3123)
- Github #2832 - "[UWP] grouped listiview which can load more crashes if scroll too fast" (#3060)
- Github #3026 - "[iOS] ListView throws ArgumentNullException when HasUnevenRows = true and no ItemTemplate specified" (#3042)
- Github #3053 - "[UWP] Moving items around on an Observable Collection causes the last item to disappear" (#3060)
- Github #3073 - "WebView shows blank screen with XF3.0" (#3120)
- Github #3087 - "[Android] Non appcompat SwitchRenderer regression between 3.0 and 3.1" (#3099)
- Github #3089 - "[All] TextCell text doesn't change when using Recycling on ListViews " (#3092)
Additional fixes included in this release
- "[Build] Add option to ignore framework version validation" (#3223)
Wednesday, June 20, 2018 - Xamarin.Forms 3.1.0.583944 (3.1.0)
Issues Fixed
- Github #1799/Bugzilla 60381 - "[iOS] listView without data crash on ipad. " (#3046)
- Github #1931 - "Xamarin Forms on Android: ScrollView on ListView header crashes app when closing page" (#3025)
- Github #2011 - "[Android]Null exception throw from ScrollViewRenderer.Dispose(bool disposing) in Xamarin.Forms Android" (#3025)
- Github #2169 - "When a child is added to the relative layout in run time and its layout position is changed in run time, position is not updated" (#3036)
- Github #2499 - "Picker.cs Line 215 Throws Argument Out Of Range Exception when Binding Context gets set to Null" (#3014)
- Github #2514 - "[UWP] RotationX and RotationY don't work " (#2992)
- Github #2815 - "Picker still attempts to set SelectedItem when BindingContext goes to null" (#3014)
- Github #2837/Bugzilla 53179 - "Regression - Android - Exception thrown during NavigationPage.Navigation.PopAsync" (#3021)
- Github #2841 - "Methods RotateYTo and RotateXTo stopped worked in Xamarin.Forms 3.0" (#2992)
- Github #2918 - "Stepper alternate constructor NOT calling this() to initialize platformConfigurationRegistry" (#2994)
- Github #2919 - "Why is Stepper Up button hardcoded to 10 pixels height on Android?" (#2995)
- Github #2993 - "[Android] Bottom Tab Bar with a navigation page is hiding content" (#3044)
- Github #2996 - "[UWP] Xamarin.Forms 3.1 ListView ItemTapped event issue for UWP. " (#3023)
- Github #3008 - "[UWP] Setting ListView.ItemSource to null doesn't cause it clear out its contents" (#3023)
- Github #3009 - "[UWP] Clearing out Grouped Listview in certain layouts causes System.Runtime.InteropServices.COMException" (#3023)
- Github #3018 - "[UWP] Grouped ListView ArgummentOutOfRageException ItemTapped" (#3023)
- Github #3019 - "[UWP] Grouped ListView Header empty" (#3023)
- Github #3050 - "[UWP] : Xamarin.Forms 3.0 Items added in Observable Collection are not reflecting in List View." (#3023)
Additional fixes included in this release
- Github #3033 - "VisualStateGroupList.Validate is expensive" (#3043)
Friday, June 8, 2018 - Xamarin.Forms 3.1.0.561732-pre4 (3.1.0 Pre Release 4)
Issues Fixed
- Github #2767 - "ArgumentException: NaN not valid for height, at Xamarin.Forms.Grid.ContractRowsIfNeeded" (#2926)
- Github #2821 - "SetGrow And SetBasis not working inside OnAppearing" (#2938)
- Github #2829/Bugzilla 57789 - "[Android] Renderers associated with ListView cells are occasionaly not being disposed of which causes left over events to propagate to disposed views" (#2857)
Additional fixes included in this release
- "[Core] Fix ScrollToPosition.MakeVisible bug" (#2670)
Tuesday, June 5, 2018 - Xamarin.Forms 3.1.0.550168-pre3 (3.1.0 Pre Release 3)
Issues Fixed
- Github #2798/Bugzilla 59868 - "[iOS] Secondary Toolbar Items overlapping" (#2870)
Friday, June 1, 2018 - Xamarin.Forms 3.1.0.530888-pre2 (3.1.0 Pre Release 2)
Issues Fixed
- Github #1332 - "Scrollview does not resize when ContentSize changes when inside a Detail page" (#2635)
- Github #1760 - "Regression Issue - Content set after an await is not visible" (#2635)
- Github #2299 - "[iOS] ListView does not scroll when a control in listview has a PanGestureRecognizer" (#2669)
- Github #2411 - "[Maps]Xamarin.Forms.Maps not able to remove a pin on Android" (#2682)
- Github #2595 - "ScrollView.Content is not re-layouted on Android" (#2635)
- Github #2745 - "TimePicker ignores FontSize setting on android" (#2749)
Tuesday, May 8, 2018 - Xamarin.Forms 3.1.0.469394-pre1 (3.1.0 Pre Release 1)
Issues Fixed
- Github #1630 - "[macOS] WebView Navigated & Navigating events not raised" (#2156)
- Github #1864 - "[WPF] Xamarin.Forms WPF load local html throw ArgumentException with message "Relative URIs are not allowed"" (#2166)
- Github #1905 - "Pull to refresh doesn't work if iOS 11 large titles is enabled" (#1984)
- Github #2127 - "Error On Setting CarouselPage.IsEnabled to false" (#2547)
- Github #2129 - "iOS Platform Specific BlurEffect disables touch input" (#2133)
- Github #2189 - "[WPF] Placeholder property doesn't work" (#2211)
- Github #2228/Bugzilla 60106/Bugzilla 54036 - " [UWP] MasterPage - Blank Area below Popover menu the second time you show it" (#2502)
- Github #2297 - "UWP throws exception on close application if native page is displayed" (#2392)
- Github #2394 - "[WPF] StackLayout VerticalOptions = LayoutOptions.End is not working" (#2451)
- Github #2399 - "[iOS] ViewCell's with nested layout are not garbage collected causing huge memory leak" (#2416)
- Github #2507 - "[macOS] MasterDetailPage: default MasterBehavior doesn't show Master page" (#2538)
- Github #2560 - "XamlParser should not assume XAML namespace prefix" (#2561)
- Github #2574 - "Code-behind x:Name not linking properly" (#2582)
- Github #2596 - "App crashes if css uses color
lightgrey
" (#2599) - Github #2607 - "[UWP] Deadlock if you rapid fire alerts " (#2609)
Additional fixes included in this release
- "[Core] Add Watch to TargetIdiom" (#1990)
- "[Tizen] Fix minor issues tizen backend" (#2402)
- "[Tizen] Refactor the GestureDetector" (#2059)
- "[Tizen] Set TargetIdom.Watch for Tizen wearable device" (#2163)
- "Improve warning message, since the calling code isn't on Device" (#2545)
Breaking Changes
- UWP
TabbedPage
headers may not longer clip content. Github #1705 - "[Enhancement] Icon on TabbedPage UWP" (#1952)
API Changes
- Github #1340 - "[Enhancement] Bindable Span" (#1850)
- Github #1670 - "[Enhancement] Hide ScrollView scroll bars." (#1910)
- Github #1672 - "[Enhancement] UWP: Button: AccessKey support" (#2061)
- Github #1677 - "[Enhancement] Entry: Control over text-prediction" (#2038) (#2161)
- Github #1683 - "[Enhancement] AutoCaptialization support for Entry/Editor" (#1833) (#2116)
- Github #1684 - "[Enhancement] Color on Slider" (#1781) (#2065) (#2072)
- Github #1697 - "[Enhancement] Add ButtonType for return Entry and done Editor" (#2029)
- Github #1699 - "[Enhancement] Add EvaluateJavaScript method to WebView" (#2140)
- Github #1705 - "[Enhancement] Icon on TabbedPage UWP" (#1952)
- Github #1707 - "[Enhancement] Drop shadow support for iOS/UWP" (#1896)
- Github #1733 - "Autoresizable Editor " (#2091)
- Github #1739 - "[Enhancement] Allow hooking into an App's DI Container" (#1870)
- Github #1801 - "[Enhancement] Add SelectionMode property to ListView" (#2143) (#2206)
- Github #1556/Bugzilla 56831 - "Animation tasks do not complete when Battery Saver enabled" (#3148) (added in 3.1.0.637273 (3.1.0 Service Release 1))
- Github #2189 - "[WPF] Placeholder property doesn't work" (#2211)
- Github #2299 - "[iOS] ListView does not scroll when a control in listview has a PanGestureRecognizer" (#2669) (added in 3.1.0.530888-pre2 (3.1.0 Pre Release 2))
- Github #2767 - "ArgumentException: NaN not valid for height, at Xamarin.Forms.Grid.ContractRowsIfNeeded" (#2926) (added in 3.1.0.561732-pre4 (3.1.0 Pre Release 4))
- "[Core] Add Watch to TargetIdiom" (#1990)
Feedback welcome
Your feedback is important to us. If there are any problems with this release, check the Xamarin.Forms Forums, Xamarin.Forms Bugzilla Tracker and GitHub for existing issues. Report new issues and suggestions on GitHub.
Open Source
Xamarin.Forms 3.1.0 is based on the open-source Xamarin.Forms repository: