Xamarin.Forms 4.3.0.778476-pre1 (4.3.0 Pre Release 1) Release Notes

Getting Started | What's New | Breaking Changes | API Changes | Blogs | Thank you | Feedback | Open Source

What's New in this Release

Notable Changes

Shell

  • "[Android] Check if Shell Flyout header is null before trying to use it" (#7333)
  • "[iOS] Fix usage conflict of Title and AttributedTitle on ButtonRenderer" (#6944)
  • "[Shell][Tizen] Add the MaterialShellRenderer on Tizen" (#6196)
  • "Add profiler instrumentation" (#7134)
  • "ITextAlignmentElement VerticalTextAlignment (Entry, SearchBar, EntryCell)" (#6463)
  • "make all ShellTabBarAppearanceTracker methods virtual" (#7175)
  • Github #4504 - "[F100] Make Label display HTML from a string" (#4527)
  • Github #4855 - "[F100] Character Spacing (LetterSpacing/Kerning) in Label and Button" (#5167)
  • Github #4996 - "[Spec] CarouselView" (#5044)
  • Github #6802 - "[Bug] Shell SearchHandler - Cancel is visible by default?" (#6931)
  • Github #6964 - "Turn off bottom shadow and set bottom padding of Flyout Header" (#6970)

Visual

  • "[iOS] Fix usage conflict of Title and AttributedTitle on ButtonRenderer" (#6944)
  • "[Shell][Tizen] Add the MaterialShellRenderer on Tizen" (#6196)
  • "[Tizen] Fix slider thumb color issue" (#6785)
  • Github #2165 - "enable source link support" (#6886)
  • Github #4855 - "[F100] Character Spacing (LetterSpacing/Kerning) in Label and Button" (#5167)
  • Github #4996 - "[Spec] CarouselView" (#5044)

F100s

Features in Preview

CollectionView

  • "[Android, iOS] Fix CarouselView Issues" (#7366)
  • "[CarouselView] Fixed issue updating PeekAreaInsets" (#7382)
  • "[iOS] Implement CollectionView ScrollTo with groups" (#7220)
  • Github #4996 - "[Spec] CarouselView" (#5044)
  • Github #5882 - "[Spec] RefreshView" (#7214)
  • Github #5998 - "[Enhancement] Create header and footer for CollectionView" (#7237)
  • Github #6620 - "[iOS] Crash when creating a CollectionView inside a CollectionView" (#7273)
  • Github #7121 - "[Bug] Scrolling CollectionView(with footer) to the last item throws System.ArgumentOutOfRangeException" (#7199)
  • Github #7194 - "[UWP CollectionView] Changing ItemsSource automatically selects first item" (#7267)
  • Github #7338 - "[Bug] CollectionView crash if source is empty in XF 4.2.0.709249" (#7354)

Release History

  • Wednesday, September 11, 2019 - Xamarin.Forms 4.3.0.778476-pre1 (4.3.0 Pre Release 1)

Wednesday, September 11, 2019 - Xamarin.Forms 4.3.0.778476-pre1 (4.3.0 Pre Release 1)

Issues Fixed

  • Github #1455 - "Context action are not changed when selected item changed on Android" (#6460)
  • Github #2509/Bugzilla 25557 - "Pin.Clicked does not work" (#6079)
  • Github #3475 - "[iOS] LayoutCompression Performance Issues" (#7201)
  • Github #4041 - "SupportActionMode Menu not updated in Android when using DataTemplateSelector " (#6460)
  • Github #4267 - "[iOS] NRE in ContextActionsCell" (#7306)
  • Github #4973 - "No view found for id 0xe (unknown) for fragment FragmentContainer" (#4974)
  • Github #5490 - "Map Pin Click only works on Android on XF and Maps 3.6" (#6079)
  • Github #5575 - "In macOS Mojave, navigation bar title text is not centered." (#6981)
  • Github #5610 - "iOS: Setting AnchorY incorrectly translates view" (#6951)
  • Github #6074 - "[Bug] macOS pressing the tab key moves to the 2nd entry instead of first" (#6982)
  • Github #6620 - "[iOS] Crash when creating a CollectionView inside a CollectionView" (#7273)
  • Github #6776 - "[Bug] System Crash when I swipe to Delete a ListView item and then Select another Item" (#7215)
  • Github #6790 - "[Bug] [WPF] Button padding doesn't work" (#6791)
  • Github #6802 - "[Bug] Shell SearchHandler - Cancel is visible by default?" (#6931)
  • Github #6847 - "Xamarin_iOS_UIKit_UIResponder_get_InputAssistantItem: unrecognized selector sent to instance 0x12df62320" (#6862)
  • Github #6945 - "[Bug] Wrong anchor behavior when setting HeightRequest and scaling (iOS only)" (#6951)
  • Github #6964 - "Turn off bottom shadow and set bottom padding of Flyout Header" (#6970)
  • Github #7049 - "Null reference exception on some Android devices - Xamarin.Forms.Platform.Android.PageRenderer.Xamarin.Forms.Platform.Android.IOrderedTraversalController.UpdateTraversalOrder" (#7050)
  • Github #7102 - "[Bug] CollectionView Header cause delay to adding items." (#7199)
  • Github #7121 - "[Bug] Scrolling CollectionView(with footer) to the last item throws System.ArgumentOutOfRangeException" (#7199)
  • Github #7156 - "[Bug] UWP SearchBar not visible if you set a WidthRequest property for another platform" (#7188)
  • Github #7187 - "[Bug] Typo in markup extension should throw XPE" (#7190)
  • Github #7194 - "[UWP CollectionView] Changing ItemsSource automatically selects first item" (#7267)
  • Github #7207 - "[Bug] debug single uitest causes unhandled exception" (#7228)
  • Github #7243 - "[Bug] [Android] ArgumentOutOfRangeException in CollectionView: Adapter miscalculates item position when using CV Header" (#7199)
  • Github #7338 - "[Bug] CollectionView crash if source is empty in XF 4.2.0.709249" (#7354)

Additional fixes included in this release

  • "[Android, iOS] Fix CarouselView Issues" (#7366)
  • "[Android] Check if Shell Flyout header is null before trying to use it" (#7333)
  • "[Android] Fix MasterDetailContainer fragment handling" (#6471)
  • "[Android] Just check if IsDesignModeEnabled true instead of checking Context type" (#7110)
  • "[Android] Update webview to use correct value for WebNavigationEvent" (#7089)
  • "[CarouselView] Fixed issue updating PeekAreaInsets" (#7382)
  • "[Core] Obsolete Device.OpenUri" (#6844)
  • "[GTK] Added missing NamedSizes for GTK" (#7130)
  • "[iOS] Added static bool and check for iOS 13" (#7041)
  • "[iOS] Fix Scrolled, don't use UITableView delegate" (#7328)
  • "[iOS] Fix usage conflict of Title and AttributedTitle on ButtonRenderer" (#6944)
  • "[iOS] Implement CollectionView ScrollTo with groups" (#7220)
  • "[Shell][Tizen] Add the MaterialShellRenderer on Tizen" (#6196)
  • "[Tizen] Adds Opt-in Init" (#7209)
  • "[Tizen] Fix slider thumb color issue" (#6785)
  • "[Tizen] Update ListViewRenderer for header and footer" (#6984)
  • "[X] Allow tracking the assignment of StaticResource" (#6868)
  • "[X] allow x:Type markup as x:DataType value" (#6843)
  • "Add ProfilePage.cs" (#7112)
  • "Add profiler instrumentation" (#7134)
  • "Cache Droid SDK ver" (#6983)
  • "cleanup: corrected spelling mistake" (#6794)
  • "ITextAlignmentElement VerticalTextAlignment (Entry, SearchBar, EntryCell)" (#6463)
  • "make all ShellTabBarAppearanceTracker methods virtual" (#7175)
  • "Replace IsDesignModeEnabled check with original Context Type Check" (#7143)
  • "Revert "[Tests]Update to Xamarin.UITest 3.0 and NUnit 3.0 (#6332)"" (#7021)
  • "Stop the madness; " (#7123)

Known Issues

  • Github #7460 - "Add check to see if ShellContent is Visible one before firing OnAppearing"
  • Github #7347 - "[Bug] Header/Footer do not update on Android CollectionView"
  • Github #7268 - "[Bug] Unable to set initial CarouselView item using ScrollTo() in page constructor"
  • Github #7056 - "[Bug, iOS] CollectionView blanks items on scroll"
  • Github #6988 - "[Bug] CollectionView sometimes doesn't render label "
  • Github #6507 - "[Bug] Navigating away from CollectionView and coming back leaves weird old items "
  • Github #6388 - "[CollectionView] Error when using ListItemsLayout in XAML"
  • Github #6369 - "[Bug] CollectionView - Label Bindings LayoutOptions rendering"
  • Github #5455 - "ItemSizingStrategy MeasureAllItems does not work for iOS"
  • Github #5354 - "[CollectionView] Updating the ItemsLayout type should refresh the layout"

Breaking Changes

  • "make all ShellTabBarAppearanceTracker methods virtual" (#7175)
  • Github #6964 - "Turn off bottom shadow and set bottom padding of Flyout Header" (#6970)
  • Github #7156 - "[Bug] UWP SearchBar not visible if you set a WidthRequest property for another platform" (#7188)

Namespace Xamarin.Forms

Removed Type Xamarin.Forms.ActivationFlags

Namespace Xamarin.Forms.Internals

Type Changed: Xamarin.Forms.Internals.Registrar

Removed method:

public static void RegisterAll (System.Type[] attrTypes, Xamarin.Forms.ActivationFlags flags);

Type Changed: Xamarin.Forms.Internals.Registrar`1

Modified methods:

-public void Register (System.Type tview, System.Type trender, System.Type[] supportedVisuals)
+public void Register (System.Type tview, System.Type trender, System.Type[] supportedVisual)

Namespace Xamarin.Forms

Type Changed: Xamarin.Forms.Forms

Removed method:

public static void Initialize (ActivationOptions activation);

Removed Type Xamarin.Forms.ActivationOptions

Namespace Xamarin.Forms.Platform.Android

Type Changed: Xamarin.Forms.Platform.Android.CarouselViewRenderer

Modified base type:

-Xamarin.Forms.Platform.Android.ItemsViewRenderer
+Xamarin.Forms.Platform.Android.ItemsViewRenderer`3[Xamarin.Forms.ItemsView,Xamarin.Forms.Platform.Android.ItemsViewAdapter`2[Xamarin.Forms.ItemsView,Xamarin.Forms.Platform.Android.IItemsViewSource],Xamarin.Forms.Platform.Android.IItemsViewSource]

Type Changed: Xamarin.Forms.Platform.Android.CollectionViewRenderer

Modified base type:

-Xamarin.Forms.Platform.Android.SelectableItemsViewRenderer
+Xamarin.Forms.Platform.Android.GroupableItemsViewRenderer`3[Xamarin.Forms.GroupableItemsView,Xamarin.Forms.Platform.Android.GroupableItemsViewAdapter`2[Xamarin.Forms.GroupableItemsView,Xamarin.Forms.Platform.Android.IGroupableItemsViewSource],Xamarin.Forms.Platform.Android.IGroupableItemsViewSource]

Removed Type Xamarin.Forms.Platform.Android.ItemsViewAdapter

Removed Type Xamarin.Forms.Platform.Android.ItemsViewRenderer

Removed Type Xamarin.Forms.Platform.Android.SelectableItemsViewAdapter

Removed Type Xamarin.Forms.Platform.Android.SelectableItemsViewRenderer

Namespace Xamarin.Forms.Platform.Android.CollectionView

Removed Type Xamarin.Forms.Platform.Android.CollectionView.RecyclerViewScrollListener

Namespace Xamarin.Forms.Platform.iOS

Type Changed: Xamarin.Forms.Platform.iOS.ShellTabBarAppearanceTracker

Removed methods:

public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
public virtual void ResetAppearance (UIKit.UITabBarController controller);
public virtual void SetAppearance (UIKit.UITabBarController controller, Xamarin.Forms.ShellAppearance appearance);
public virtual void UpdateLayout (UIKit.UITabBarController controller);

Namespace Xamarin.Forms.Platform.MacOS

Type Changed: Xamarin.Forms.Platform.MacOS.VisualElementRenderer`1

Removed method:

public override void KeyUp (AppKit.NSEvent theEvent);

Namespace Xamarin.Forms.Platform.Tizen

Type Changed: Xamarin.Forms.Platform.Tizen.Item

Removed constructor:

public Item (string title, string icon);

Modified properties:

-public string Icon { get; set; }
+public Xamarin.Forms.ImageSource Icon { get; set; }

Type Changed: Xamarin.Forms.Platform.Tizen.NavigationDrawer

Modified properties:

-public NavigationView NavigationView { get; set; }
+public ElmSharp.EvasObject NavigationView { get; set; }

Type Changed: Xamarin.Forms.Platform.Tizen.NavigationView

Removed property:

public System.Collections.Generic.IList<Group> Menu { get; set; }

Removed event:

public event System.EventHandler<ElmSharp.GenListItemEventArgs> MenuItemSelected;

Namespace Xamarin.Forms.Platform.UWP

Type Changed: Xamarin.Forms.Platform.UWP.ItemsViewRenderer

Modified base type:

-Xamarin.Forms.Platform.UWP.ViewRenderer`2[Xamarin.Forms.CollectionView,Windows.UI.Xaml.Controls.ListViewBase]
+Xamarin.Forms.Platform.UWP.ViewRenderer`2[Xamarin.Forms.ItemsView,Windows.UI.Xaml.Controls.ListViewBase]

Deprecations

  • "[Core] Obsolete Device.OpenUri" (#6844)

API Changes

See all API Changes here.

Blogs

Xamarin Blogs

Thank you

Thank you to our community for helping to make Xamarin.Forms even better!

This release, we received amazing contributions from these individuals. Give them a big round of applause!

Author Commit PR
adrianknight89 (@adrianknight89) [Core] Add ability to show modal prompts (#6714) #6714
adrianknight89 (@adrianknight89) minor fixes (#7178) #
Alexey Maltsev (@AxelUser) Implemented scrolling disabling for ScrollView via ScrollOrientation.Neither (#3113) #3113
Andrei (@AndreiMisiukevich) fixes #5575 (#6981) #6981
Andrei (@AndreiMisiukevich) fixes #6074 (#6982) #6982
Andrei Nitescu (@andreinitescu) Label padding (#6299) #6299
Andrei Nitescu (@andreinitescu) ITextAlignmentElement VerticalTextAlignment (Entry, SearchBar, EntryCell) (#6463) #6463
Andrei Nitescu (@andreinitescu) Entry ClearButtonMode (#5277) #5277
Brayan Khosravian (@BrayanKhosravian) - Issue 7207 - if current culture of the current thread is not set to the invariant culture then initializing the app causes a "NUnit.Framework.InconclusiveException" with the exception- message "App did not start for some reason. System.Argument.Exception: 1 is not supported code page. Parameter name: codepage." (#7228) #7228
Brian Runck (@brunck) Update CONTRIBUTING.md (#7153) #7153
Brian Runck (@brunck) Update README.md (#7196) #7196
Edwin Wachs (@wachs) [UWP] Multi-window (#2432) #2432
Geoffrey Huntley (@ghuntley) cleanup: corrected spelling mistake (#6794) #6794
Geoffrey Huntley (@ghuntley) cleanup: moved closing brace to new line (#6793) #6793
Giampaolo Gabba (@GiampaoloGabba) [iOS] Fix LayoutCompression Performance Issues #3475 (#7201) #7201
Guido Neele (@GuidoNeele) [Android] Context actions menu is now updated when changing cells. (#6460) fixes #1455 fixes #4041 #6460
Happypig375 (@Happypig375) Adds a null check for Xamarin.Forms.Platform.Android.PageRenderer.Xamarin.Forms.Platform.Android.IOrderedTraversalController.UpdateTraversalOrder (#7050) #7050
Joe Manke (@jcmanke) Add separate MarkerClick and InfoWindowClick events for Pins (#6079) #6079
Joe Manke (@jcmanke) [Maps] Add polylines and polygons (#6136) #6136
joepgrooten (@joepgrooten) Fix default cancel button visibility on iOS SearchHandler (#6931) #6931
Kangho Hur (@rookiejava) [Tizen] Adds Opt-in Init (#7209) #7209
Kevin Petit (@kvpt) [Android] Fix MasterDetailContainer fragment handling (#6471) #6471
Kevin Petit (@kvpt) [Android] Correctly dispose TabbedPageRenderer (#4974) #4974
ksemenenko (@KSemenenko) [Enhancement] Implements CharacterSpacing (#5167) #5167
ksemenenko (@KSemenenko) ListView.Scrolled (#7157) #7157
Peter Moore (@legistek) RelativeSource Binding (#4375) #4375
Ravinder Jangra (@ravinderjangra) [Android] Update webview to use correct value for WebNavigationEvent (#7089) #7089
shmin (@shyunMin) [Tizen] Fix slider thumb color issue (#6785) #6785
sung-su.kim (@sung-su) [Tizen] Update ListViewRenderer for header and footer (#6984) #6984
yourina (@yourina) [Shell][Tizen] Add the MaterialShellRenderer on Tizen (#6196) #6196

Feedback welcome

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 4.3.0 is based on the open-source Xamarin.Forms repository: