Xamarin.Forms 3.1.0

Xamarin.Forms 3.1.0

Updated: 6/20/2018

Getting Started | What's New | Known Issues | 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

Notable Changes

Thanks to our community, we've added another 16 F100 features!

Known Issues

  • Github #3082 - "[Android] Non appcompat SwitchRenderer regression between 3.0 and 3.1"

Release History

  • 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, 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 - "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

Friday, June 8, 2018 - Xamarin.Forms 3.1.0.561732-pre4 (3.1.0 Pre Release 4)

Issues Fixed

  • "[Core] Fix ScrollToPosition.MakeVisible bug" (#2670)
  • 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 - "[Android] Renderers associated with ListView cells are occasionaly not being disposed of which causes left over events to propagate to disposed views" (#2857)

Tuesday, June 5, 2018 - Xamarin.Forms 3.1.0.550168-pre3 (3.1.0 Pre Release 3)

Issues Fixed

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 - " [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)

Feedback

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:

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.