Xamarin.Forms 4.6.0.1073 (4.6.0 Service Release 5) Release Notes
Getting Started | What's New | Known Issues | Breaking Changes | API Changes | Blogs | Thank you | Feedback | Open Source
Summary
This release continues to improve existing features, while introducing a few significant feature contributions.
App Theme Support (Dark and Light Modes, etc.)
We are now previewing support for different OS level theme modes such as dark and light. To get started, opt-in to the feature using the flag Forms.SetFlags("AppTheme_Experimental");
.
In order to properly support runtime updates, this API has been refactored. Note that AppThemeColor
is no longer used, and instead please use the AppThemeBinding
extension. Documentation may be found here.
C# Markup Extensions
For developers that prefer to create UI in C#, a set of extension methods have been added to greatly reduce the more verbose aspects.
To get started, in your library project setup an App.cs
with:
public class App : Application
{
public App()
{
Device.SetFlags(new string[] { "Markup_Experimental" });
MainPage = new MainPage();
}
}
In the MainPage.cs
you may then start creating your UI. For example, this introduces a Build
method convention to set the page content.
public class MainPage : ContentPage
{
public MainPage() => Build();
void Build()
{
Content = new StackLayout()
{
Children = {
new Label { Text = "Welcome to Xamarin.Forms!" }.CenterExpand()
}
};
}
}
The code above uses the extension method CenterExpand
to both center vertically and horizontally within the StackLayout
.
RadioButton
This control is just what it sounds like, radio buttons! To group them together, provide a common GroupName
.
void Build()
{
Content = new StackLayout()
{
Padding = new Thickness(15),
Children = {
new Label {Text = "Choose a color:" }.Bold(),
new RadioButton
{
GroupName = "Colors",
Text = "Red",
TextColor = Color.Red
},
new RadioButton
{
GroupName = "Colors",
Text = "Green",
TextColor = Color.Green
},
new RadioButton
{
GroupName = "Colors",
Text = "Blue",
TextColor = Color.Blue
},
}
};
}
What's New in this Release
Roadmap
- "[Enhancement] Expander control" (#9044) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- "[Spec] CSharpForMarkup" (#8342)
- "[Tizen] Adds RadioButton" (#10237) (added in 4.6.0.726 (4.6.0))
- "Cross-Platform OS Theme APIs" (#9958) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- GitHub #2404 - "[F100] RadioButton" (#8910)
- GitHub #4509 - "[Shell] No styling properties for ShellItem or MenuItem " (#9886) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
F100s
- GitHub #3262 - "Feature Request - Cookie-functionality for WebViews" (#8169)
- GitHub #5177 - "[Enhancement] Change NavigationPage back button color on Android" (#5185)
CollectionView
- "[Tizen] Changed CarouselView scroll logic according to the Core change." (#10235) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- "[Tizen] Enhances ListView on Tizen " (#10236) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- "Apply iOS 10 9686 fixes from 4.7 to 4.6" (#10963) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #10110 - "CollectionView EmptyView doesn't show up on UWP HorizontalList" (#10755) (added in 4.6.0.847 (4.6.0 Service Release 3))
- GitHub #10170 - "[Bug] Issues setting the initial position on a CarouselView to a non-zero value" (#10414) (added in 4.6.0.772 (4.6.0 Service Release 1))
- GitHub #10291 - "[Bug] CarouselView needs to check IsScrollAnimated/AnimateCurrentItemChanges/AnimatePositionChanges on UpdateItemSpacing also" (#10414) (added in 4.6.0.772 (4.6.0 Service Release 1))
- GitHub #10300 - "[Bug] [iOS] ObservableCollection.RemoveAt(index) with a valid index raises ArgementOutOfRangeException." (#10450) (added in 4.6.0.772 (4.6.0 Service Release 1))
- GitHub #10313 - "[Bug] [Android] SwipeView takes focus on ListView Item and makes it hard to scroll on device" (#10614) (added in 4.6.0.1073 (4.6.0 Service Release 5))
- GitHub #10477/GitHub #8894 - "[Bug] CollectionView Header Controls with Commands Don't work when EmptyView is Visible" (#10705) (added in 4.6.0.1073 (4.6.0 Service Release 5))
- GitHub #10708 - "[Bug] CarouselView - Setting BindingIndex to null - Exception IItemsViewSource is empty" (#10808) (added in 4.6.0.1073 (4.6.0 Service Release 5))
- GitHub #10817 - "[Bug] CollectionView shows incorrect ScrollBar on mouse over" (#10839) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #10875 - "[Bug] SwipeView.LeftItems in CollectionView stop Scrolling" (#10614) (added in 4.6.0.1073 (4.6.0 Service Release 5))
- GitHub #5455/GitHub #6851 - "[Bug] [CollectionView] [Xamarin.forms] item will be centered when there is only one item" (#10241) (added in 4.6.0.726 (4.6.0))
- GitHub #5560 - "[Android] Disposed EntryCell throws ObjectDisposed exception after updating an object that the EntryCell was previously bound to" (#9764) (added in 4.6.0.494-pre2 (4.6.0 Pre Release 2))
- GitHub #6587 - "Android Crash - ObjectDisposedException Rendering Shadow with FramerRenderer" (#9764) (added in 4.6.0.494-pre2 (4.6.0 Pre Release 2))
- GitHub #7683 - "[Bug] [iOS] Dark Mode not supported on certain controls" (#9840) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- GitHub #7780 - "[Bug] CarouselView doesn't support RTL layout" (#10593) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #8308 - "[Bug] [iOS] Cannot access a disposed object. Object name: 'GroupableItemsViewController`1" (#9931) (added in 4.6.0.494-pre2 (4.6.0 Pre Release 2))
- GitHub #8495 - "When iOS device is switched to dark mode, some controls do not update [Bug] " (#9840) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- GitHub #8607 - "Cannot access a disposed object. Object name: 'Android.Widget.TextView'." (#9764) (added in 4.6.0.494-pre2 (4.6.0 Pre Release 2))
- GitHub #8715 - "NullReferenceException Xamarin.Forms.Platform.iOS.StructuredItemsViewRenderer [Bug] " (#9675)
- GitHub #8766 - "[Bug] CollectionView.EmptyView does not inherit parent Visual" (#10022) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- GitHub #9012 - "[Enhancement] Allow extend GroupableItemsViewAdapter" (#10521) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #9060 - "[Bug] RTL does not support Collection View on IOS " (#10593) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #9232 - "[Bug] Disabled RefreshView disables scrolling" (#10013) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- GitHub #9412 - "[Bug] Unhandled Environment exception. - System.ObjectDisposedException: Cannot access a disposed object." (#9764) (added in 4.6.0.494-pre2 (4.6.0 Pre Release 2))
- GitHub #9431 - "[Bug] ObjectDisposedException (BoxView inside CollectionView)" (#9764) (added in 4.6.0.494-pre2 (4.6.0 Pre Release 2))
- GitHub #9580 - "[Bug] CollectionView - iOS - Crash when adding first item to empty item group " (#9911) (added in 4.6.0.726 (4.6.0))
- GitHub #9686 - "[Bug, CollectionView,iOS] Foundation.Monotouch Exception in Grouped CollectionView " (#9911) (added in 4.6.0.726 (4.6.0))
- GitHub #9826 - "[Bug] Indicator shows # of indicators = MaximumVisible even when there are fewer items" (#10401) (added in 4.6.0.726 (4.6.0))
- GitHub #9833 - "[Bug] [UWP] Propagate CollectionView BindingContext to EmptyView" (#10574) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #9845 - "[Bug] System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Xamarin.Forms.Platform.Android.FastRenderers.LabelRenderer'. or JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self)" (#9764) (added in 4.6.0.494-pre2 (4.6.0 Pre Release 2))
IndicatorView
- GitHub #8958 - "[Bug] IndicatorView not updating to current page when CarouselView is bound to custom DataType" (#10589) (added in 4.6.0.772 (4.6.0 Service Release 1))
- GitHub #9826 - "[Bug] Indicator shows # of indicators = MaximumVisible even when there are fewer items" (#10401) (added in 4.6.0.726 (4.6.0))
Maps
- "Map circles" (#7401)
- GitHub #10146 - "Xamarin.Forms.Maps.Map.VisibleRegion is null untill it's panned" (#10239) (added in 4.6.0.726 (4.6.0))
Shell
- "[iOS] Shell fix clear of ShellSection " (#10253) (added in 4.6.0.726 (4.6.0))
- "[Shell] Implement FlyoutBackgroundColor for UWP" (#9915) (added in 4.6.0.494-pre2 (4.6.0 Pre Release 2))
- "[Tizen] Add Shell renderers for watch" (#10363) (added in 4.6.0.726 (4.6.0))
- "[Tizen] Update ShellRenderer for extend" (#10587) (added in 4.6.0.772 (4.6.0 Service Release 1))
- "Cherrypick #10396 (embedded fonts iOS fix) to 4.6" (#10399) (added in 4.6.0.726 (4.6.0))
- "Fix route removal to keep one default route if it's needed" (#10156) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- "iOS 10 fix for Top Tabs on Shell" (#10500) (added in 4.6.0.772 (4.6.0 Service Release 1))
- "PresentsWithGesture incorrectly toggled back to true when Flyout Disabled" (#10632) (added in 4.6.0.800 (4.6.0 Service Release 2))
- "Set Current Item correctly after items cleared" (#10515) (added in 4.6.0.772 (4.6.0 Service Release 1))
- "Use FlyoutBehavior on Shell if user sets it" (#10456) (added in 4.6.0.847 (4.6.0 Service Release 3))
- GitHub #10108 - "[Bug] Shell cancel navigation doesn't work for top bar navigation on android" (#10189) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- GitHub #10126 - "[Bug] TabBar appears on iOS even if TabBarIsVisible is set to False on Shell app" (#11124) (added in 4.6.0.1073 (4.6.0 Service Release 5))
- GitHub #10133 - "[Bug] [Shell] Locked Flyout disappears when same item pressed twice" (#9719) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- GitHub #10238 - "NullReferenceException in Shell" (#10252) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- GitHub #10308 - "[Bug]Setting CurrentItem in AppShell.xaml throw exception " (#10418) (added in 4.6.0.772 (4.6.0 Service Release 1))
- GitHub #10382 - "[Bug] Styling issues with FlyoutItem classes" (#10381) (#10383) (added in 4.6.0.726 (4.6.0))
- GitHub #10617 - "[Bug] Secondary ToolbarItem text color is white on Android" (#10619) (added in 4.6.0.847 (4.6.0 Service Release 3))
- GitHub #11107 - "[Bug][iOS] Shell Navigation implicitly adds Tabbar." (#11124) (added in 4.6.0.1073 (4.6.0 Service Release 5))
- GitHub #4509 - "[Shell] No styling properties for ShellItem or MenuItem " (#9886) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- GitHub #6161 - "[Bug] Changing the Shell Flyout Header after it's already rendered doesn't work" (#10079) (added in 4.6.0.726 (4.6.0))
- GitHub #6227 - "[Bug] Xamarin.Forms Shell Opener Issue for "RTL Language" when Tap at Hamburger" (#9237) (added in 4.6.0.726 (4.6.0))
- GitHub #6294 - "[Bug] Xaminals flickers weirdly on some devices" (#10158) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- GitHub #6342 - "[Bug] Shell FlowDirection follows Device FlowDirection in all cases." (#9237) (added in 4.6.0.726 (4.6.0))
- GitHub #7072 - "[Bug]Shell - OnBackButtonPressed not executing" (#10860) (#11094) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #7072 - "[Bug]Shell - OnBackButtonPressed not executing" (#10860) (#11094) (added in 4.6.0.1073 (4.6.0 Service Release 5))
- GitHub #7160 - "Shell Bottom Navigation Bar Rendering Issue" (#10063) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- GitHub #7683 - "[Bug] [iOS] Dark Mode not supported on certain controls" (#9840) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- GitHub #7878 - "[Bug] Page not popped on iOS 13 FormSheet swipe down" (#7923) (#8551) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- GitHub #8495 - "When iOS device is switched to dark mode, some controls do not update [Bug] " (#9840) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- GitHub #8581 - "[Bug] Shell application flickering on back navigation" (#10158) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- GitHub #8715 - "NullReferenceException Xamarin.Forms.Platform.iOS.StructuredItemsViewRenderer [Bug] " (#9675)
- GitHub #8904 - "[Bug] Shell: OnAppearing / OnDisappearing not triggered after return from modal page" (#10048) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- GitHub #9169 - "[Bug] Shell Navigated event/override is a mess" (#10048) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- GitHub #9307 - "[Bug]
OnAppearing
does not fire after aUIModalPresentationStyle.FormSheet
Page is Dismissed" (#7923) (#8551) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3)) - GitHub #9440 - "[Bug] Flyout remains open on FlyoutItem double click " (#9719) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- GitHub #9975 - "[Bug] Shell Can't change query property values when on the same page using GoToAsync" (#10176) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
Visual
- "[Tizen] Add material renderers for Editor and Picker" (#9384) (added in 4.6.0.726 (4.6.0))
- "iOS Material Components Bump" (#9053) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- GitHub #10809 - "[Bug] Android app with shared Android resource lib crash with target API level 29 or 30" (#10975) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #2404 - "[F100] RadioButton" (#8910)
- GitHub #6881 - "[Enhancement] Remove internal access modifier from Material" (#7879)
- GitHub #8766 - "[Bug] CollectionView.EmptyView does not inherit parent Visual" (#10022) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- GitHub #9261 - "[Visual] [Material] Can't set TextColor and BackgroundColor for a disabled Material button" (#9655) (added in 4.6.0.494-pre2 (4.6.0 Pre Release 2))
Other Enhancements
- "[Tizen] Provides global Circle Surface for wearable" (#10083) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- "Add UWP display prompt" (#8720)
- "Apply fading effect on DetailPage for MasterDetailPage on iOS" (#7437)
- GitHub #4459 - "[UWP] BoxView CornerRadius doesn't work" (#7986)
- GitHub #6932 - "[Enhancement] EmptyView for BindableLayout" (#7686)
- GitHub #9372 - "[Enhancement] [WPF] ActivityIndicatorRenderer to use circular animation" (#9389)
Features in Preview
Current experimental flags
Are you on the cutting edge? Try out ALL of our experimental features now using these flags! Read more about experimental flags.
Shell_UWP_Experimental
SwipeView_Experimental
AppTheme_Experimental
CarouselView_Experimental
MediaElement_Experimental
StateTriggers_Experimental
Markup_Experimental
Expander_Experimental
C# Markup
Try it with Forms.SetFlags("Markup_Experimental");
- "[Spec] CSharpForMarkup" (#8342)
CarouselView
Try it with Forms.SetFlags("CarouselView_Experimental");
- "[Tizen] Changed CarouselView scroll logic according to the Core change." (#10235) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- GitHub #10170 - "[Bug] Issues setting the initial position on a CarouselView to a non-zero value" (#10414) (added in 4.6.0.772 (4.6.0 Service Release 1))
- GitHub #10291 - "[Bug] CarouselView needs to check IsScrollAnimated/AnimateCurrentItemChanges/AnimatePositionChanges on UpdateItemSpacing also" (#10414) (added in 4.6.0.772 (4.6.0 Service Release 1))
- GitHub #10300 - "[Bug] [iOS] ObservableCollection.RemoveAt(index) with a valid index raises ArgementOutOfRangeException." (#10450) (added in 4.6.0.772 (4.6.0 Service Release 1))
- GitHub #10672 - "[Bug] Setting CarouselView.IsScrollAnimated To False Throws Exception On UWP When Resizing The Window" (#10686) (added in 4.6.0.847 (4.6.0 Service Release 3))
- GitHub #10673 - "[Bug] Horizontal CarouselView Inside Vertical CarouselView Throws "Attempt To Access Shared Memory" Exception When Resizing Window - UWP" (#10686) (added in 4.6.0.847 (4.6.0 Service Release 3))
- GitHub #10674 - "[Bug] [UWP] CarouselView Bugs when Resizing Window" (#10686) (added in 4.6.0.847 (4.6.0 Service Release 3))
- GitHub #10708 - "[Bug] CarouselView - Setting BindingIndex to null - Exception IItemsViewSource is empty" (#10808) (added in 4.6.0.1073 (4.6.0 Service Release 5))
- GitHub #10745 - "[Bug] Xamarin.Forms CarouselView CurrentItem binding doesn't work in v4.6.0.772" (#10838) (added in 4.6.0.847 (4.6.0 Service Release 3))
- GitHub #10775 - "[Bug] CarouselView on Android does not always fire CurrentItemChanged or PositionChanged when scrolling" (#10850) (added in 4.6.0.847 (4.6.0 Service Release 3))
- GitHub #7780 - "[Bug] CarouselView doesn't support RTL layout" (#10593) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #8958 - "[Bug] IndicatorView not updating to current page when CarouselView is bound to custom DataType" (#10589) (added in 4.6.0.772 (4.6.0 Service Release 1))
- GitHub #9060 - "[Bug] RTL does not support Collection View on IOS " (#10593) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #9826 - "[Bug] Indicator shows # of indicators = MaximumVisible even when there are fewer items" (#10401) (added in 4.6.0.726 (4.6.0))
- GitHub #9827 - "[Bug] CarouselView doesn't update the CurrentItem on Swipe under strange conditions" (#10850) (added in 4.6.0.847 (4.6.0 Service Release 3))
Dark Mode/App Themes
Try it with Forms.SetFlags("AppTheme_Experimental");
- "[AND] Default style to DayNight (Dark Theme support)" (#9869) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- "[iOS] Fix NamedPlatformColor typo" (#10677) (added in 4.6.0.800 (4.6.0 Service Release 2))
- "[UWP] Fix TextBox styling to adopt Dark Theme" (#10150) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- "Add GetNamedColor for platform specific colors" (#10008) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- "AppTheme fix NRE" (#10327) (added in 4.6.0.726 (4.6.0))
- "Cross-Platform OS Theme APIs" (#9958) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- "Fix coloring of UWP Entry buttons" (#10328) (added in 4.6.0.726 (4.6.0))
- "Fix iOS <13 support " (#10185) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- "Rename AppTheme enum to OSAppTheme" (#10302) (added in 4.6.0.726 (4.6.0))
- GitHub #10245 - "[Bug] ViewRenderer.TraitCollectionDidChange NullReferenceException, Regression in v4.6.0.529-pre3" (#10246) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- GitHub #10391 - "[Bug] iOS doesn't update AppThemeColor when appearing is toggled" (#10442) (added in 4.6.0.772 (4.6.0 Service Release 1))
- GitHub #10395 - "[Bug] Unable to support AppTheme and user preference at same time" (#10592) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #10612 - "ListView ContextActions MenuItem IsDestructive has no red background color" (#10878) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #7683 - "[Bug] [iOS] Dark Mode not supported on certain controls" (#9840) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- GitHub #8495 - "When iOS device is switched to dark mode, some controls do not update [Bug] " (#9840) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
Expander
Try it with Forms.SetFlags("Expander_Experimental");
- "[Enhancement] Expander control" (#9044) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- GitHub #10230 - "[Bug] Expander + CollectionView: padding and margin issues" (#10283) (added in 4.6.0.726 (4.6.0))
- GitHub #10362 - "[Bug] Disabling the Expander doesn't change its visual appearance" (#10461) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #10449 - "[Bug] Expander - Animation cut off when Spacing is used" (#10460) (added in 4.6.0.772 (4.6.0 Service Release 1))
State Triggers
Try it with Forms.SetFlags("StateTriggers_Experimental");
- "Change StateTriggerBase OnAttached and OnDetached methods to be public" (#9888) (added in 4.6.0.726 (4.6.0))
SwipeView
Try it with Forms.SetFlags("SwipeView_Experimental");
- "[Android] Fix SwipeView icon size using FontImageSource" (#9955) (added in 4.6.0.494-pre2 (4.6.0 Pre Release 2))
- "Added IsOpen property in SwipeEndedEventArgs " (#10467) (added in 4.6.0.800 (4.6.0 Service Release 2))
- GitHub #10095/GitHub #10096 - "[Bug][iOS] SwipeView partial reveal in 4.6-pre2" (#10099) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- GitHub #10113 - "[Bug] IconImageSource in a SwipeItem is rendered incorrectly" (#10130) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- GitHub #10313 - "[Bug] [Android] SwipeView takes focus on ListView Item and makes it hard to scroll on device" (#10614) (added in 4.6.0.1073 (4.6.0 Service Release 5))
- GitHub #10530 - "[Bug] Swipe View Null Reference Exception while trying to change visibility of swipe item" (#10566) (added in 4.6.0.1073 (4.6.0 Service Release 5))
- GitHub #10875 - "[Bug] SwipeView.LeftItems in CollectionView stop Scrolling" (#10614) (added in 4.6.0.1073 (4.6.0 Service Release 5))
- GitHub #9326 - "[Bug] RefreshView should delay effects of IsEnabled while a refresh is happening and iOS is handling IsEnabled false incorrectly" (#10015) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- GitHub #9413 - "[Enhancement] Add a way to open SwipeView programatically" (#9635) (added in 4.6.0.494-pre2 (4.6.0 Pre Release 2))
- GitHub #9881 - "[Enhancement] Add IsVisible to SwipeItem" (#9949) (added in 4.6.0.726 (4.6.0))
UWP Shell
Try it with Forms.SetFlags("Shell_UWP_Experimental");
- "[Shell] Implement FlyoutBackgroundColor for UWP" (#9915) (added in 4.6.0.494-pre2 (4.6.0 Pre Release 2))
- GitHub #10382 - "[Bug] Styling issues with FlyoutItem classes" (#10381) (#10383) (added in 4.6.0.726 (4.6.0))
- GitHub #4509 - "[Shell] No styling properties for ShellItem or MenuItem " (#9886) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- GitHub #7878 - "[Bug] Page not popped on iOS 13 FormSheet swipe down" (#7923) (#8551) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- GitHub #9307 - "[Bug]
OnAppearing
does not fire after aUIModalPresentationStyle.FormSheet
Page is Dismissed" (#7923) (#8551) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
Release History
- Wednesday, July 1, 2020 - Xamarin.Forms 4.6.0.1073 (4.6.0 Service Release 5)
- Wednesday, June 17, 2020 - Xamarin.Forms 4.6.0.967 (4.6.0 Service Release 4)
- Thursday, June 4, 2020 - Xamarin.Forms 4.6.0.847 (4.6.0 Service Release 3)
- Tuesday, May 19, 2020 - Xamarin.Forms 4.6.0.800 (4.6.0 Service Release 2)
- Thursday, May 14, 2020 - Xamarin.Forms 4.6.0.772 (4.6.0 Service Release 1)
- Wednesday, April 29, 2020 - Xamarin.Forms 4.6.0.726 (4.6.0)
- Thursday, April 9, 2020 - Xamarin.Forms 4.6.0.616-pre4 (4.6.0 Pre Release 4)
- Thursday, April 2, 2020 - Xamarin.Forms 4.6.0.529-pre3 (4.6.0 Pre Release 3)
- Wednesday, March 25, 2020 - Xamarin.Forms 4.6.0.494-pre2 (4.6.0 Pre Release 2)
- Wednesday, March 4, 2020 - Xamarin.Forms 4.6.0.379-pre1 (4.6.0 Pre Release 1)
Wednesday, July 1, 2020 - Xamarin.Forms 4.6.0.1073 (4.6.0 Service Release 5)
Issues Fixed
- GitHub #10126 - "[Bug] TabBar appears on iOS even if TabBarIsVisible is set to False on Shell app" (#11124)
- GitHub #10182 - "[Bug] Exception Ancestor must be provided for all pushes except first " (#11095)
- GitHub #10313 - "[Bug] [Android] SwipeView takes focus on ListView Item and makes it hard to scroll on device" (#10614)
- GitHub #10477/GitHub #8894 - "[Bug] CollectionView Header Controls with Commands Don't work when EmptyView is Visible" (#10705)
- GitHub #10530 - "[Bug] Swipe View Null Reference Exception while trying to change visibility of swipe item" (#10566)
- GitHub #10708 - "[Bug] CarouselView - Setting BindingIndex to null - Exception IItemsViewSource is empty" (#10808)
- GitHub #10875 - "[Bug] SwipeView.LeftItems in CollectionView stop Scrolling" (#10614)
- GitHub #11031 - "[Bug] Regression in 4.7-pre4: Frames are broken" (#11040) (#11042)
- GitHub #11107 - "[Bug][iOS] Shell Navigation implicitly adds Tabbar." (#11124)
- GitHub #7072 - "[Bug]Shell - OnBackButtonPressed not executing" (#10860) (#11094)
Additional fixes included in this release
- "[Build] Update Directory.Build.props" (#11227)
- "[Tizen] Ensure the update of color after theme style changing" (#11080)
- "[Tizen] Fix initialize of Device Independent Pixel option" (#11070)
- "[UWP] Cleanup _modalBackgroundPage" (#11212)
- "[UWP] Fix Button disposing" (#10793)
- "[UWP] Fix Stepper disposing" (#10795)
- "Fix iOSPlatform property" (#11241)
- "Run iOS tests from the command line via cake" (#11223)
Wednesday, June 17, 2020 - Xamarin.Forms 4.6.0.967 (4.6.0 Service Release 4)
Issues Fixed
- GitHub #10024 - "Frame animation issue/inconsistency in latest version of Forms/Xamarin iOS" (#10023) (#10469)
- GitHub #10166 - "[Bug] [iOS] IsClippedToBounds Property is ignored by Frames" (#10023) (#10469)
- GitHub #10326 - "An exception occurs from FrameRenderer when create a native renderer for forms view in Xamarin.Forms.iOS" (#10023) (#10469)
- GitHub #10333 - "[Bug] [iOS] Opacity on Frame behavior change in 4.5" (#10023) (#10469)
- GitHub #10348 - "[Bug] Cannot change shadow appearance on Frame from version 4.5.x" (#10023) (#10469)
- GitHub #10362 - "[Bug] Disabling the Expander doesn't change its visual appearance" (#10461)
- GitHub #10395 - "[Bug] Unable to support AppTheme and user preference at same time" (#10592)
- GitHub #10422 - "[Bug] [iOS] Frame render issue using TranslationY" (#10023) (#10469)
- GitHub #10561 - "[Bug] Calls to Styles.CleanUpWeakReferences causes Index Out Of Range Exception." (#10568)
- GitHub #10581 - "Slider crash on Mac 10.13.6" (#10582)
- GitHub #10612 - "ListView ContextActions MenuItem IsDestructive has no red background color" (#10878)
- GitHub #10699 - "[Bug] RefreshView IsEnabled Binding not updating" (#10917)
- GitHub #10803 - "[Bug] XAML Hot Reload, No Source Info for element declared in Data Template" (#10933)
- GitHub #10809 - "[Bug] Android app with shared Android resource lib crash with target API level 29 or 30" (#10975)
- GitHub #10817 - "[Bug] CollectionView shows incorrect ScrollBar on mouse over" (#10839)
- GitHub #10854 - "[Bug] [iOS] Setting back indicator image causes a null reference exception" (#10869)
- GitHub #10868 - "[Bug] iOS - Radio buttons cause the app to crash in AppStore version" (#11023)
- GitHub #10894 - "[Bug] [Android] AppCompat PickerRenderer NullReferenceException" (#10915)
- GitHub #10906 - "[Bug] Control placed inside frame when animated to edge of frame getting disappeared" (#10023) (#10469)
- GitHub #10926 - "[Bug] UWP - CreateFrameworkElement (Native Forms) throws null ref and doesn't display images in v4.5.0.356" (#10935)
- GitHub #11031 - "[Bug] Regression in 4.7-pre4: Frames are broken" (#11040) (#11042)
- GitHub #7072 - "[Bug]Shell - OnBackButtonPressed not executing" (#10860) (#11094)
- GitHub #7780 - "[Bug] CarouselView doesn't support RTL layout" (#10593)
- GitHub #9060 - "[Bug] RTL does not support Collection View on IOS " (#10593)
- GitHub #9555 - "[Bug][iOS] Applying an Effect to Frame adds a shadow " (#10023) (#10469)
- GitHub #9711 - "[Bug] iOS Failed to marshal the Objective-C object HeaderWrapperView" (#10759)
- GitHub #9774 - "[Bug] Xamarin.Forms 4.5 breaks custom frame renderer shadow functionality on iOS" (#10023) (#10469)
- GitHub #9833 - "[Bug] [UWP] Propagate CollectionView BindingContext to EmptyView" (#10574)
- GitHub #9990 - "Frame's shadow doesn't translate with the Frame by TranslatTo method (iOS)" (#10023) (#10469)
Additional fixes included in this release
- "[iOS] Revert change that sets Frame BackgroundColor to null" (#11001)
- "[Tizen] Enhance the Page.ToolbarItem" (#11015)
- "[Tizen] Fix ListView header/footer padding issue" (#10768)
- "[Tizen] Fix TableView issue on Wearable device" (#10911)
- "[Tizen] Improve the SwitchCell performance" (#10952)
- "[Tizen] Load image sync in case of FileImageSource" (#10782)
- "[Tizen] Update the CellRenderer for extensibility" (#10938)
- "[UITests] Add new tests categories" (#10883)
- "[UITests] Comment out Bugzilla32871 " (#10945)
- "[UWP] Fix SearchBar disposing" (#10798)
- "[X] l10n of build errors" (#10662)
- "Apply iOS 10 9686 fixes from 4.7 to 4.6" (#10963)
- "Update Readme for setting up environment to build from source" (#10815)
Thursday, June 4, 2020 - Xamarin.Forms 4.6.0.847 (4.6.0 Service Release 3)
Issues Fixed
- GitHub #10110 - "CollectionView EmptyView doesn't show up on UWP HorizontalList" (#10755)
- GitHub #10617 - "[Bug] Secondary ToolbarItem text color is white on Android" (#10619)
- GitHub #10672 - "[Bug] Setting CarouselView.IsScrollAnimated To False Throws Exception On UWP When Resizing The Window" (#10686)
- GitHub #10673 - "[Bug] Horizontal CarouselView Inside Vertical CarouselView Throws "Attempt To Access Shared Memory" Exception When Resizing Window - UWP" (#10686)
- GitHub #10674 - "[Bug] [UWP] CarouselView Bugs when Resizing Window" (#10686)
- GitHub #10744 - "[Bug] WebView.Eval crashes on Android" (#10781)
- GitHub #10745 - "[Bug] Xamarin.Forms CarouselView CurrentItem binding doesn't work in v4.6.0.772" (#10838)
- GitHub #10775 - "[Bug] CarouselView on Android does not always fire CurrentItemChanged or PositionChanged when scrolling" (#10850)
- GitHub #4714 - "XamarinForms GestureRecognizer issue" (#10078)
- GitHub #9827 - "[Bug] CarouselView doesn't update the CurrentItem on Swipe under strange conditions" (#10850)
Additional fixes included in this release
- "[Maps] Execute Map.Pins CollectionChanged handling on the main thread (#5866) fixes #5865" (#5866)
- "Use FlyoutBehavior on Shell if user sets it" (#10456)
- GitHub #10758 - "WPF TimePicker - incorrectly formats 24-Hour times because ToLower() is called on format string" (#10780)
Tuesday, May 19, 2020 - Xamarin.Forms 4.6.0.800 (4.6.0 Service Release 2)
Issues Fixed
- GitHub #10712 - "[Bug] Rotating Android device/emulator throws ArgumentNullException" (#10714)
- GitHub #10715 - "[Bug] Home button crash Xamarin Forms iOS" (#10714)
Additional fixes included in this release
- "[iOS] Fix NamedPlatformColor typo" (#10677)
- "[Tizen] Adds ActiveBezelElement to Application" (#10644)
- "[Tizen] Make ActiveBezemElement as readonly" (#10655)
- "[Tizen] Optimize and enhance UI controls for watch" (#10678)
- "Added IsOpen property in SwipeEndedEventArgs " (#10467)
- "PresentsWithGesture incorrectly toggled back to true when Flyout Disabled" (#10632)
Thursday, May 14, 2020 - Xamarin.Forms 4.6.0.772 (4.6.0 Service Release 1)
Issues Fixed
- GitHub #10170 - "[Bug] Issues setting the initial position on a CarouselView to a non-zero value" (#10414)
- GitHub #10291 - "[Bug] CarouselView needs to check IsScrollAnimated/AnimateCurrentItemChanges/AnimatePositionChanges on UpdateItemSpacing also" (#10414)
- GitHub #10300 - "[Bug] [iOS] ObservableCollection.RemoveAt(index) with a valid index raises ArgementOutOfRangeException." (#10450)
- GitHub #10308 - "[Bug]Setting CurrentItem in AppShell.xaml throw exception " (#10418)
- GitHub #10318 - "[Bug] [Android] Pre-release version of Xamarin Forms forgets cookies" (#10474) (#10571)
- GitHub #10337 - "[Bug]iOS Renderer NavigationBar.ShadowImage = new UIImage() not remove shadow line after xamarin.forms 4.5" (#10493)
- GitHub #10338 - "[Bug][iOS] Can't hide back button arrow" (#10493)
- GitHub #10391 - "[Bug] iOS doesn't update AppThemeColor when appearing is toggled" (#10442)
- GitHub #10449 - "[Bug] Expander - Animation cut off when Spacing is used" (#10460)
- GitHub #10528 - "[Bug] [UWP] BoxView Color confused in 4.6" (#10540)
- GitHub #10535 - "semi-transparent grey box overlay stopped working after update to Xamarin.Forms 4.6.0.379-pre1" (#10540)
- GitHub #7890 - "[Bug] TemplatedItemsList incorrect grouped collection range removal" (#7891)
- GitHub #8958 - "[Bug] IndicatorView not updating to current page when CarouselView is bound to custom DataType" (#10589)
Additional fixes included in this release
- "[Tizen] Provide way to handle when Page.ToolbarItems was opened/closed" (#10553)
- "[Tizen] Update ShellRenderer for extend" (#10587)
- "Change API check to Oreo for coloring TextViews on ToolBar" (#10494)
- "iOS 10 fix for Top Tabs on Shell" (#10500)
- "Remove DualScreen projects from Xamarin.Forms.Sln" (#10550)
- "Set Current Item correctly after items cleared" (#10515)
Wednesday, April 29, 2020 - Xamarin.Forms 4.6.0.726 (4.6.0)
Issues Fixed
- GitHub #10040 - "[Bug] Button IsEnabled color Android" (#10459)
- GitHub #10146 - "Xamarin.Forms.Maps.Map.VisibleRegion is null untill it's panned" (#10239)
- GitHub #10230 - "[Bug] Expander + CollectionView: padding and margin issues" (#10283)
- GitHub #10382 - "[Bug] Styling issues with FlyoutItem classes" (#10381) (#10383)
- GitHub #5455/GitHub #6851 - "[Bug] [CollectionView] [Xamarin.forms] item will be centered when there is only one item" (#10241)
- GitHub #5682 - "WPF: ViewCell content width does not update on ListView width change" (#8440)
- GitHub #6161 - "[Bug] Changing the Shell Flyout Header after it's already rendered doesn't work" (#10079)
- GitHub #6227 - "[Bug] Xamarin.Forms Shell Opener Issue for "RTL Language" when Tap at Hamburger" (#9237)
- GitHub #6342 - "[Bug] Shell FlowDirection follows Device FlowDirection in all cases." (#9237)
- GitHub #6436 - "[Bug] [WPF] Grid + ListView -> first row height not correct" (#8440)
- GitHub #6842 - "[Bug] [WPF] ViewCell in scrollable list view does not update width when restoring from maximized window" (#8440)
- GitHub #8039 - "[Bug] WPF ListView ArgumentOutOfRangeException when tapped" (#8440)
- GitHub #8291 - "Android Editor - Text selection menu does not appear when selecting text on an editor placed within a ScrollView" (#10407)
- GitHub #9029 - "[Bug] WPF: ViewCell content width does incorrect update" (#8440)
- GitHub #9112 - "[Bug] ImageButton - bad tap animation on iOS after upgrading to 4.4.0.991265" (#10394)
- GitHub #9580 - "[Bug] CollectionView - iOS - Crash when adding first item to empty item group " (#9911)
- GitHub #9686 - "[Bug, CollectionView,iOS] Foundation.Monotouch Exception in Grouped CollectionView " (#9911)
- GitHub #9824 - "[Bug] Android Shell FIRST ToobarItem grey-out when the Second ToobarItem CanExecute = False." (#10404)
- GitHub #9826 - "[Bug] Indicator shows # of indicators = MaximumVisible even when there are fewer items" (#10401)
Additional fixes included in this release
- "[iOS] Shell fix clear of ShellSection " (#10253)
- "[Tizen] Add material renderers for Editor and Picker" (#9384)
- "[Tizen] Add Shell renderers for watch" (#10363)
- "[Tizen] Adds OverlayContent to Application" (#10310)
- "[Tizen] Applying new style on SwitchCell" (#10347)
- "[Tizen] Fix dependency service registration correctly" (#10287)
- "[Tizen] Fix exception updating empty OverlayContent" (#10357)
- "[UITests] Better handling of scroll tests" (#10434)
- "AppTheme fix NRE" (#10327)
- "Change StateTriggerBase OnAttached and OnDetached methods to be public" (#9888)
- "Cherrypick #10396 (embedded fonts iOS fix) to 4.6" (#10399)
- "Fix coloring of UWP Entry buttons" (#10328)
- "Fix previewer flakiness on Android" (#10384)
- "RadioButton Experimental Flag" (#10370)
- "Rename AppTheme enum to OSAppTheme" (#10302)
Thursday, April 9, 2020 - Xamarin.Forms 4.6.0.616-pre4 (4.6.0 Pre Release 4)
Issues Fixed
- GitHub #10108 - "[Bug] Shell cancel navigation doesn't work for top bar navigation on android" (#10189)
- GitHub #10113 - "[Bug] IconImageSource in a SwipeItem is rendered incorrectly" (#10130)
- GitHub #10133 - "[Bug] [Shell] Locked Flyout disappears when same item pressed twice" (#9719)
- GitHub #10208 - "[Bug] Display issue when mixing Style and FontFamily for embedded fonts on iOS." (#10227)
- GitHub #10226 - "[Bug] Embedded Fonts Not working correctly on iOS" (#10227)
- GitHub #10229 - "[Bug] Expander + CollectionView: Expander content keeps reopening" (#10247)
- GitHub #10245 - "[Bug] ViewRenderer.TraitCollectionDidChange NullReferenceException, Regression in v4.6.0.529-pre3" (#10246)
- GitHub #6294 - "[Bug] Xaminals flickers weirdly on some devices" (#10158)
- GitHub #7757 - "[Bug] ImageButtonRenderer fails with cross thread access" (#10184)
- GitHub #8581 - "[Bug] Shell application flickering on back navigation" (#10158)
- GitHub #8689 - "[Bug] Margin of Contentview like Grid, or Stacklayout doesnt work inside RefreshView " (#10010)
- GitHub #8940 - "RefreshView color not being honoured first time loading/programatically" (#10011)
- GitHub #9232 - "[Bug] Disabled RefreshView disables scrolling" (#10013)
- GitHub #9326 - "[Bug] RefreshView should delay effects of IsEnabled while a refresh is happening and iOS is handling IsEnabled false incorrectly" (#10015)
- GitHub #9440 - "[Bug] Flyout remains open on FlyoutItem double click " (#9719)
- GitHub #9948 - "[Bug] RadioButton.ButtonSource is only implemented on Android" (#9967)
- GitHub #9951 - "[Bug] Android 10 Setting ThumbColor on Switch causes a square block" (#10155)
- GitHub #9975 - "[Bug] Shell Can't change query property values when on the same page using GoToAsync" (#10176)
Additional fixes included in this release
- "[Tizen] Changed CarouselView scroll logic according to the Core change." (#10235)
- "[Tizen] Enable ListView.Scrolled event" (#10128)
- "[Tizen] Enable Page.ToolbarItem on Watch" (#10145)
- "[Tizen] Enhances ListView on Tizen " (#10236)
- "[UWP] Fix FontIcon issue using a empty font name" (#9956)
- "[UWP] Fix TextBox styling to adopt Dark Theme" (#10150)
- "Add GetNamedColor for platform specific colors" (#10008)
- "Cross-Platform OS Theme APIs" (#9958)
- "Fix iOS <13 support " (#10185)
- "Fix navigation to expander test" (#10207)
- "Fix route removal to keep one default route if it's needed" (#10156)
- GitHub #10238 - "NullReferenceException in Shell" (#10252)
Thursday, April 2, 2020 - Xamarin.Forms 4.6.0.529-pre3 (4.6.0 Pre Release 3)
Issues Fixed
- GitHub #10095/GitHub #10096 - "[Bug][iOS] SwipeView partial reveal in 4.6-pre2" (#10099)
- GitHub #6408 - "[Bug] [WPF] BoxView not correctly restored" (#9930)
- GitHub #7160 - "Shell Bottom Navigation Bar Rendering Issue" (#10063)
- GitHub #7683 - "[Bug] [iOS] Dark Mode not supported on certain controls" (#9840)
- GitHub #7878 - "[Bug] Page not popped on iOS 13 FormSheet swipe down" (#7923) (#8551)
- GitHub #8495 - "When iOS device is switched to dark mode, some controls do not update [Bug] " (#9840)
- GitHub #8766 - "[Bug] CollectionView.EmptyView does not inherit parent Visual" (#10022)
- GitHub #8904 - "[Bug] Shell: OnAppearing / OnDisappearing not triggered after return from modal page" (#10048)
- GitHub #9169 - "[Bug] Shell Navigated event/override is a mess" (#10048)
- GitHub #9307 - "[Bug]
OnAppearing
does not fire after aUIModalPresentationStyle.FormSheet
Page is Dismissed" (#7923) (#8551) - GitHub #9786 - "[Bug] [Android] Android app is crashed when tap to ListView Cell MenuItem" (#10075)
Additional fixes included in this release
- "[AND] Default style to DayNight (Dark Theme support)" (#9869)
- "iOS Material Components Bump" (#9053)
- "Update ColorTypeConverter to support HSVA" (#10065)
Wednesday, March 25, 2020 - Xamarin.Forms 4.6.0.494-pre2 (4.6.0 Pre Release 2)
Issues Fixed
- GitHub #5560 - "[Android] Disposed EntryCell throws ObjectDisposed exception after updating an object that the EntryCell was previously bound to" (#9764)
- GitHub #6403 - "Xamarin.Forms UWP Picker collapses on opening Dropdown menu [Bug] " (#8165)
- GitHub #6587 - "Android Crash - ObjectDisposedException Rendering Shadow with FramerRenderer" (#9764)
- GitHub #6698 - "[Bug] InvalidOperationException in TypedBinding`2[TSource,TProperty].Apply" (#9542)
- GitHub #7242 - "[Bug] iOS FontSize is calculated incorrectly" (#9821)
- GitHub #8183 - "[Bug] CSS Descendants with Base class selector do not match" (#9004)
- GitHub #8308 - "[Bug] [iOS] Cannot access a disposed object. Object name: 'GroupableItemsViewController`1" (#9931)
- GitHub #8607 - "Cannot access a disposed object. Object name: 'Android.Widget.TextView'." (#9764)
- GitHub #9261 - "[Visual] [Material] Can't set TextColor and BackgroundColor for a disabled Material button" (#9655)
- GitHub #9340 - "[Bug] FlexLayout.OnMeasure (System.Double widthConstraint, System.Double heightConstraint) System.NullReferenceException" (#9891)
- GitHub #9412 - "[Bug] Unhandled Environment exception. - System.ObjectDisposedException: Cannot access a disposed object." (#9764)
- GitHub #9431 - "[Bug] ObjectDisposedException (BoxView inside CollectionView)" (#9764)
- GitHub #9841 - "[Bug] Crash in NavigationRenderer+ParentingViewController.Dispose (System.Boolean disposing)" (#9877)
- GitHub #9842 - "[Bug][iOS] MasterDetailPage shadow platform-specific not applied when first set" (#9853)
- GitHub #9845 - "[Bug] System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Xamarin.Forms.Platform.Android.FastRenderers.LabelRenderer'. or JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self)" (#9764)
Additional fixes included in this release
- "[Android] Fix SwipeView icon size using FontImageSource" (#9955)
- "[Shell] Implement FlyoutBackgroundColor for UWP" (#9915)
- "[XamlC] use XmlReader for detecting XAML and x:Class" (#9922)
- "Adds Color.FromHsva" (#10054)
Wednesday, March 4, 2020 - Xamarin.Forms 4.6.0.379-pre1 (4.6.0 Pre Release 1)
Issues Fixed
- GitHub #2674 - "Exception occurs when giving null values in picker itemsource collection" (#9478)
- GitHub #3770 - "[WPF] ListView.Header not being rendered" (#8443)
- GitHub #3947 - "[Error] ListView's Header and Footer is not working in WPF" (#8443)
- GitHub #8038 - "[Bug] [WPF]ImageButton with source from resource throw System.InvalidOperationException" (#9154)
- GitHub #8715 - "NullReferenceException Xamarin.Forms.Platform.iOS.StructuredItemsViewRenderer [Bug] " (#9675)
- GitHub #9435 - "[Bug] [iOS] NullReferenceException at ScrollViewRenderer.cs" (#9490)
Additional fixes included in this release
- "[Android] Fix unbalanced performance start/stop call" (#8622)
- "[Android] Optimize RecalculateSpanPositions method" (#8746)
- "[Android] Fix color filter usage on API29" (#9180)
- "[iOS] Expose UISearchBarStyle through platform-specific" (#8811)
- "[iOS] Fix NRE if the detail renderer wasn't created" (#9496)
- "[REVERTED] [Android] Fix BottomNavigationItemView issue with MasterDetailPage" (#9187)
- "[WPF] Font icon support for toolbar items" (#9587)
- "Add more platform tests" (#9011)
- "Add null check to GetIconColor" (#9172)
- "Fix Android SeachBarRenderer CreateNativeControl issue" (#8946)
- "revert [Android] Fix BottomNavigationItemView issue with MasterDetailPage" (#9709)
Known Issues
- GitHub #11138 - "[Bug] iOS Translucent not longer works with UIAppearance"
- GitHub #11029 - "[Bug] [Android] Crash on disposing page when popping navigation stack"
- GitHub #10950 - "[Bug] CarouselView in version 4.6.0.800 of Xamarin.Forms does not change position of itemsource on Android but works on iOS"
- GitHub #10895 - "[Bug] ImageSource.FromStream() causes Android to crash with animated .gif files."
- GitHub #10882 - "[Bug] [Android] ScrollBar is not visible in ScrollView"
- GitHub #10870 - "Bug on UWP's DisplayPromptAsync"
- GitHub #10785 - "[Bug] [Android] missing implementation of GetNamedColor(string) in class Xamarin.Forms.Forms/AndroidPlatformServices"
- GitHub #10710 - "[Bug] Visual State Manager crashes application when using controltemplate"
- GitHub #10690 - "[Bug] Android UseWindowSoftInputModeAdjust Resize and Pan not working correctly"
- GitHub #10538 - "[Bug] Regression: FontIcon rendering quality decreased (UWP)"
- GitHub #10519 - "[Bug] Shell Navigation.PushAsync crashing iOS app in Xamarin.Forms 4.6.0.726"
- GitHub #10518 - "[Bug] Picker not showing initial value"
- GitHub #9636 - "[Bug][Android] Material Visual Renderer Editor/Entry incompatibility with new release candidate of Xamarin.Google.Android.Material"
- GitHub #9624 - "[Bug] MediaElement playback controls paper cut"
- GitHub #9621 - "[Bug] MediaElement custom position bar is inelegant (paper cut)"
Breaking Changes
- "[Tizen] Optimize and enhance UI controls for watch" (#10678) (added in 4.6.0.800 (4.6.0 Service Release 2))
- GitHub #4459 - "[UWP] BoxView CornerRadius doesn't work" (#7986)
- GitHub #9261 - "[Visual] [Material] Can't set TextColor and BackgroundColor for a disabled Material button" (#9655) (added in 4.6.0.494-pre2 (4.6.0 Pre Release 2))
Namespace Xamarin.Forms
Type Changed: Xamarin.Forms.SwipeEndedEventArgs
Removed constructor:
public SwipeEndedEventArgs (SwipeDirection swipeDirection);
Removed Namespace Xamarin.Forms.Core
Removed Type Xamarin.Forms.Core.FontFile
Namespace Xamarin.Forms.Platform.Android
Type Changed: Xamarin.Forms.Platform.Android.IShellBottomNavViewAppearanceTracker
Removed method:
public virtual void SetAppearance (Google.Android.Material.BottomNavigation.BottomNavigationView bottomView, Xamarin.Forms.ShellAppearance appearance);
Type Changed: Xamarin.Forms.Platform.Android.IndicatorViewRenderer
Removed field:
protected Xamarin.Forms.IndicatorView IndicatorsView;
Type Changed: Xamarin.Forms.Platform.Android.ShellBottomNavViewAppearanceTracker
Removed method:
public virtual void SetAppearance (Google.Android.Material.BottomNavigation.BottomNavigationView bottomView, Xamarin.Forms.ShellAppearance appearance);
Namespace Xamarin.Forms.Platform.Tizen
Type Changed: Xamarin.Forms.Platform.Tizen.DatePickerRenderer
Modified base type:
-Xamarin.Forms.Platform.Tizen.ViewRenderer`2[Xamarin.Forms.DatePicker,Xamarin.Forms.Platform.Tizen.Native.EditfieldEntry]
+Xamarin.Forms.Platform.Tizen.ViewRenderer`2[Xamarin.Forms.DatePicker,ElmSharp.Entry]
Type Changed: Xamarin.Forms.Platform.Tizen.EditorRenderer
Modified base type:
-Xamarin.Forms.Platform.Tizen.ViewRenderer`2[Xamarin.Forms.Editor,Xamarin.Forms.Platform.Tizen.Native.Entry]
+Xamarin.Forms.Platform.Tizen.ViewRenderer`2[Xamarin.Forms.Editor,ElmSharp.Entry]
Type Changed: Xamarin.Forms.Platform.Tizen.PickerRenderer
Modified base type:
-Xamarin.Forms.Platform.Tizen.ViewRenderer`2[Xamarin.Forms.Picker,Xamarin.Forms.Platform.Tizen.Native.EditfieldEntry]
+Xamarin.Forms.Platform.Tizen.ViewRenderer`2[Xamarin.Forms.Picker,ElmSharp.Entry]
Type Changed: Xamarin.Forms.Platform.Tizen.TableViewRenderer
Modified base type:
-Xamarin.Forms.Platform.Tizen.ViewRenderer`2[Xamarin.Forms.TableView,Xamarin.Forms.Platform.Tizen.Native.TableView]
+Xamarin.Forms.Platform.Tizen.ViewRenderer`2[Xamarin.Forms.TableView,Xamarin.Forms.Platform.Tizen.Native.ListView]
Type Changed: Xamarin.Forms.Platform.Tizen.TimePickerRenderer
Modified base type:
-Xamarin.Forms.Platform.Tizen.ViewRenderer`2[Xamarin.Forms.TimePicker,Xamarin.Forms.Platform.Tizen.Native.EditfieldEntry]
+Xamarin.Forms.Platform.Tizen.ViewRenderer`2[Xamarin.Forms.TimePicker,ElmSharp.Entry]
Namespace Xamarin.Forms.Platform.Tizen.Native
Type Changed: Xamarin.Forms.Platform.Tizen.Native.DateTimePicker
Removed property:
public System.TimeSpan Time { get; set; }
Type Changed: Xamarin.Forms.Platform.Tizen.Native.DateTimePickerDialog
Removed property:
protected DateTimePicker Picker { get; set; }
Removed method:
protected virtual DateTimePicker CreatePicker (ElmSharp.EvasObject parent);
Type Changed: Xamarin.Forms.Platform.Tizen.Native.EditfieldEntry
Removed events:
public event System.EventHandler LayoutFocused;
public event System.EventHandler LayoutUnfocused;
public event System.EventHandler TextBlockFocused;
public event System.EventHandler TextBlockUnfocused;
Type Changed: Xamarin.Forms.Platform.Tizen.Native.IDateTimeDialog
Removed property:
public DateTimePicker Picker { get; }
Type Changed: Xamarin.Forms.Platform.Tizen.Native.ListView
Removed methods:
public bool HasFooter ();
public bool HasHeader ();
public void RemoveFooter ();
public void RemoveHeader ();
Namespace Xamarin.Forms.Platform.Tizen.Native.Watch
Type Changed: Xamarin.Forms.Platform.Tizen.Native.Watch.WatchDateTimePicker
Modified base type:
-Xamarin.Forms.Platform.Tizen.Native.DateTimePicker
+ElmSharp.Wearable.CircleDateTimeSelector
Removed property:
public ElmSharp.Wearable.CircleDateTimeSelector CircleSelector { get; }
Removed method:
protected override IntPtr CreateHandle (ElmSharp.EvasObject parent);
Removed Type Xamarin.Forms.Platform.Tizen.Native.Watch.WatchDataTimePickerDialog
Deprecations
- GitHub #4459 - "[UWP] BoxView CornerRadius doesn't work" (#7986)
API Changes
See all API Changes here.
- "[Enhancement] Expander control" (#9044) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- "[Spec] CSharpForMarkup" (#8342)
- "[Tizen] Optimize and enhance UI controls for watch" (#10678) (added in 4.6.0.800 (4.6.0 Service Release 2))
- "[Tizen] Provides global Circle Surface for wearable" (#10083) (added in 4.6.0.529-pre3 (4.6.0 Pre Release 3))
- "[Tizen] Update ShellRenderer for extend" (#10587) (added in 4.6.0.772 (4.6.0 Service Release 1))
- "Added IsOpen property in SwipeEndedEventArgs " (#10467) (added in 4.6.0.800 (4.6.0 Service Release 2))
- "Cross-Platform OS Theme APIs" (#9958) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
- "Map circles" (#7401)
- "Rename AppTheme enum to OSAppTheme" (#10302) (added in 4.6.0.726 (4.6.0))
- GitHub #10391 - "[Bug] iOS doesn't update AppThemeColor when appearing is toggled" (#10442) (added in 4.6.0.772 (4.6.0 Service Release 1))
- GitHub #10395 - "[Bug] Unable to support AppTheme and user preference at same time" (#10592) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #2404 - "[F100] RadioButton" (#8910)
- GitHub #3262 - "Feature Request - Cookie-functionality for WebViews" (#8169)
- GitHub #4459 - "[UWP] BoxView CornerRadius doesn't work" (#7986)
- GitHub #5177 - "[Enhancement] Change NavigationPage back button color on Android" (#5185)
- GitHub #6932 - "[Enhancement] EmptyView for BindableLayout" (#7686)
- GitHub #7780 - "[Bug] CarouselView doesn't support RTL layout" (#10593) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #9060 - "[Bug] RTL does not support Collection View on IOS " (#10593) (added in 4.6.0.967 (4.6.0 Service Release 4))
- GitHub #9948 - "[Bug] RadioButton.ButtonSource is only implemented on Android" (#9967) (added in 4.6.0.616-pre4 (4.6.0 Pre Release 4))
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 |
---|---|---|
Andreas Nesheim (@andreas-nesheim) | [Enhancement] Removed internal access modifier from Material (#7879) fixes #6881 | #7879 |
Andrei (@AndreiMisiukevich) | Added IconColor property for managing navigation icon color (#5185) | #5185 |
Andrei (@AndreiMisiukevich) | fixes #9435 (#9490) fixes #9435 | #9490 |
Andrei (@AndreiMisiukevich) | fixes #9748 (#9762) | #9762 |
Andrei (@AndreiMisiukevich) | fixes #9782 (#9800) | #9800 |
Andrei (@AndreiMisiukevich) | [Enhancement] Expander control (#9044) | #9044 |
Andrei (@AndreiMisiukevich) | https://github.com/xamarin/Xamarin.Forms/issues/10229 (#10247) | #10247 |
Andrei (@AndreiMisiukevich) | Expander + CollectionView issues (#10283) fixes #10230 | #10283 |
Andrei (@AndreiMisiukevich) | Get rid of pointless Spacing property in Expander (#10460) fixes #10449 | #10460 |
Andrei (@AndreiMisiukevich) | [Bug] Disabled Expander doesn't change its visual appearance (#10461) fixes #10362 | #10461 |
Artem (@artemious7) | fix broken link in PULL_REQUEST_TEMPLATE.md (#9391) | #9391 |
Barry Nolte (@BarryNolte) | Implements ListView Header and Footer for WPF (#8443) | #8443 |
bill2004158 (@bill2004158) | #9012: [Enhancement] Allow extend GroupableItemsViewAdapter (#10521) | #10521 |
Bohdan Benetskyi (@bbenetskyy) | #8183 Fix Base Class Selector with Descendant Selection (#9004) | #9004 |
Brian Macomber (@bmacombe) | Add UWP display prompt (#8720) | #8720 |
Brian Macomber (@bmacombe) | Fix 4459 - Update UWP BoxViewRenderer to fully support corner radius (#7986) | #7986 |
Brian Macomber (@bmacombe) | [UWP] Prevents Picker collapsing on opening Dropdown menu (#8165) fixes #6403 | #8165 |
Clifford Agius (@CliffAgius) | Adds Cookies to the WebView fixing #Issue3262 (#8169) | #8169 |
Daniel Hindrikes (@dhindrik) | [Android] Setting ThumbColor on Switch causes a square block (#10155) fixes #9951 | #10155 |
David Whetstone (@humblehacker) | [iOS] Failed to marshal HeaderWrapperView (#10759) fixes #9711 | #10759 |
dottienet (@dottienet) | Update VS 2015 -> Visual Studio for Windows (#9643) | #9643 |
Jay Cho (@JoonghyunCho) | Enable List.Scrolled event (#10128) | #10128 |
Jay Cho (@JoonghyunCho) | [Tizen] Applying new style on SwitchCell (#10347) | #10347 |
Jay Cho (@JoonghyunCho) | [Tizen] Fix exception updating empty OverlayContent (#10357) | #10357 |
Joe Manke (@jcmanke) | Map circles (#7401) | #7401 |
Joe Manke (@jcmanke) | Expose UISearchBarStyle through platform-specific (#8811) | #8811 |
Joe Manke (@jcmanke) | [Maps] Execute Map.Pins CollectionChanged handling on the main thread (#5866) fixes #5865 | #5866 |
Jonathan Goldberger (@jgold6) | [Android] Visual Material Underline color should match placeholder color (#8530) fixes #6187 | #8530 |
Kangho Hur (@rookiejava) | [Core] Adds Color.FromHsva (#10054) | #10054 |
Kangho Hur (@rookiejava) | Update ColorTypeConverter to support HSVA (#10065) | #10065 |
Kangho Hur (@rookiejava) | [Tizen] Provides global Circle Surface for wearable (#10083) | #10083 |
Kangho Hur (@rookiejava) | [Tizen] Enable Page.ToolbarItem on Watch (#10145) | #10145 |
Kangho Hur (@rookiejava) | [Tizen] Adds RadioButton (#10237) | #10237 |
Kangho Hur (@rookiejava) | [Tizen] Fix dependency service registration correctly (#10287) | #10287 |
Kangho Hur (@rookiejava) | [Tizen] Adds OverlayContent to Application (#10310) | #10310 |
Kangho Hur (@rookiejava) | [Tizen] Adds ActiveBezelElement to Application (#10644) | #10644 |
Kangho Hur (@rookiejava) | [Tizen] Make ActiveBezemElement as readonly (#10655) | #10655 |
Kangho Hur (@rookiejava) | [Tizen] Load image sync in case of FileImageSource (#10782) | #10782 |
Kangho Hur (@rookiejava) | [Tizen] Update the CellRenderer for extensibility (#10938) | #10938 |
Kangho Hur (@rookiejava) | [Tizen] Improve the SwitchCell performance (#10952) | #10952 |
Kangho Hur (@rookiejava) | [Tizen] Enhance the Page.ToolbarItem (#11015) | #11015 |
Kangho Hur (@rookiejava) | [Tizen] Ensure the update of color after theme style changing (#11080) | #11080 |
Kevin Petit (@kvpt) | [Android] Optimize RecalculateSpanPositions method (#8746) | #8746 |
Kevin Petit (@kvpt) | Fix unbalanced performance start/stop call. (#8622) | #8622 |
Kevin Petit (@kvpt) | [Android] Fix BottomNavigationItemView issue with MasterDetailPage (#9187) | #9187 |
Mahmoud Ali (@akamud) | Apply fading effect on DetailPage for MasterDetailPage on iOS (#7437) | #7437 |
Mateus Luiz Camilo (@MathewLC) | [Android] Prevent to breaking when spans have paragraph ('\n' character) (#8471) fixes #7534 | #8471 |
Matthias Bruzek (@bruzkovsky) | do not throw exeption when target of WeakReference was collected (#9542) fixes #6698 | #9542 |
melimion (@melimion) | FormsFontIcon added (#9587) | #9587 |
melimion (@melimion) | Fix TemplatedItemsList incorrect grouped collection range removal (#7891) fixes #7890 | #7891 |
Omniq-APL-Rollving (@Omniq-Rollving) | Fix Issue7242 iOS FontSize is calculated incorrectly (#9821) | #9821 |
Pedro Jesus (@pictos) | [GH-9440] - Fix Flyout remains open on FlyoutItem double click (#9719) | #9719 |
Peter Foot (@peterfoot) | [Android,iOS,UWP,WPF] MediaElement control (#3482) | #3482 |
Peter Foot (@peterfoot) | Replacement ActivityIndicator for WPF (#9389) fixes #9372 | #9389 |
sahi82 (@sahi82) | Adding null check for picker items (#9478) fixes #2674 | #9478 |
Seungkeun Lee (@myroot) | [Tize] Provide way to handle when MoreOption was opened/closed (#10553) | #10553 |
Seungkeun Lee (@myroot) | [Tizen] Update ShellRenderer for extend (#10587) | #10587 |
Seungkeun Lee (@myroot) | Fix Native.ListView Header/Footer padding issue (#10768) | #10768 |
Seungkeun Lee (@myroot) | [Tizen] Fix TableViewRenderer on Tizen wearable device (#10911) | #10911 |
Seungkeun Lee (@myroot) | [Tizen] Fix initialize of Device Independent Pixel option (#11070) | #11070 |
shmin (@shyunMin) | [Tizen] Enhances ListView on Tizen (#10236) | #10236 |
shmin (@shyunMin) | [Tizen] Add material renderers for Editor and Picker (#9384) | #9384 |
shmin (@shyunMin) | [Tizen] Add Shell renderer for watch (#10363) | #10363 |
shmin (@shyunMin) | [Tizen] Optimize and enhance UI controls for watch (#10678) | #10678 |
Steve (@steverichey) | feat!: make managed cookies opt-in, re #10318 (#10474) | #10474 |
sung-su.kim (@sung-su) | [Tizen] Changed CarouselView scroll logic according to the Core change. (#10235) | #10235 |
thisisthekap (@thisisthekap) | Fixed broken link in CONTRIBUTING.md (#9518) | #9518 |
TingtingAn (@TingtingAn) | Fix SeachBarRenderer CreateNativeControl issue (#8946) | #8946 |
Vincent Hoogendoorn (@VincentH-Net) | [Spec] CSharpForMarkup (#8342) | #8342 |
Vladislav Antonyuk (@VladislavAntonyuk) | [Bug] [Core+WPF] Grid + ListView -> first row height not correct + width not correct + ArgumentOutOfRangeException when tapped (#8440) fixes #6436 fixes #8039 fixes #9029 fixes #5682 fixes #6842 | #8440 |
Yann Zahringer Ferrando (@YZahringer) | fix double tap on uwp (#10078) | #10078 |
Yuriy Holembyovskyy (@yurkinh) | Added context switching befor UpdateAspect() method call (#9154) fixes #8038 | #9154 |
Yuriy Holembyovskyy (@yurkinh) | Add UpdateApplyShadow() in ViewDidLoad() (#9853) fixes #9842 | #9853 |
Yuriy Holembyovskyy (@yurkinh) | fixes #9952 On<iOS>().SetHideNavigationBarSeparator(true) does not work on Xamarin.Forms latest stable version (4.5.0.356) (#9972) | #9972 |
Yuriy Holembyovskyy (@yurkinh) | Add MaskToBounds property to clip a layer’s contents (#10023) fixes #9265, #9774 | #10023 |
Yuriy Holembyovskyy (@yurkinh) | Add UpdateSize() to OnElementChanged() (#9930) fixes #6408 | #9930 |
Yuriy Holembyovskyy (@yurkinh) | Add Dispose method to properly remove Shadow view and avoid memory leak (#10017) fixes #9997 | #10017 |
Yuriy Holembyovskyy (@yurkinh) | Fix 9939 [iOS][UWP] Dispose method not called when adding control inside the NavigationPage.TitleView (#10152) | #10152 |
Yuriy Holembyovskyy (@yurkinh) | [WPF] ImageButtonRenderer fails with cross thread access (#10184) fixes #7757 | #10184 |
Yuriy Holembyovskyy (@yurkinh) | [UWP] Fix SearchBar disposing (#10798) | #10798 |
Yuriy Holembyovskyy (@yurkinh) | [UWP] Fix Stepper disposing (#10795) | #10795 |
Yuriy Holembyovskyy (@yurkinh) | Added Dispose method for ButtonRenderer (#10793) | #10793 |
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.6.0 is based on the open-source Xamarin.Forms repository: